Ignore:
Timestamp:
2001-05-24T17:06:48+12:00 (23 years ago)
Author:
sjboddie
Message:

Fiddled about with mgpp to get it compiling on Windows under VC++ 6.0. I
still can't get it to compile under VC++ 4.2 because of some weird
behaviour in STLport.

Also tidied up a little and removed some of the old log information
that was scattered about in some of the files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/mgpp/text/mg_invf_dump.cpp

    r2442 r2468  
    1818 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    1919 *
    20  * $Id$
    21  *
    2220 **************************************************************************/
     21
    2322#define _XOPEN_SOURCE 1
    2423#define _XOPEN_SOURCE_EXTENDED 1
    25 #include <unistd.h>
     24
     25// need this to avoid bizarre compiler problems under VC++ 6.0
     26#if defined (__WIN32__) && !defined (GSDL_USE_IOS_H)
     27# include <iostream>
     28#endif
     29
     30#if defined (__WIN32__)
     31# include "getopt.h"
     32#else
     33# include <unistd.h>
     34#endif
    2635
    2736#include "sysfuncs.h"
    28 
    2937#include "messages.h"
    3038#include "bitio_m_stdio.h"
     
    3745#include "invf.h"
    3846#include "WordData.h"
    39 
    40 /*
    41    $Log$
    42    Revision 1.3  2001/05/17 04:38:16  jrm21
    43    portability changes, use getopt from unistd.h (all POSIX systems)
    44 
    45    Revision 1.2  2001/02/02 01:12:29  kjm18
    46    added more command line options, and better help message
    47 
    48    Revision 1.1  2000/01/14 02:26:17  sjboddie
    49    Rodgers new C++ mg
    50 
    51    Revision 1.1  1999/10/11 02:57:55  cs025
    52    Base install of MG-PP
    53 
    54    Revision 1.1  1999/08/10 21:18:09  sjboddie
    55    renamed mg-1.3d directory mg
    56 
    57    Revision 1.2  1998/11/25 07:55:46  rjmcnab
    58 
    59    Modified mg to that you can specify the stemmer you want
    60    to use via a command line option. You specify it to
    61    mg_passes during the build process. The number of the
    62    stemmer that you used is stored within the inverted
    63    dictionary header and the stemmed dictionary header so
    64    the correct stemmer is used in later stages of building
    65    and querying.
    66 
    67    Revision 1.1  1998/11/17 09:35:05  rjmcnab
    68    *** empty log message ***
    69 
    70    * Revision 1.3  1994/11/29  00:32:01  tes
    71    * Committing the new merged files and changes.
    72    *
    73    * Revision 1.2  1994/09/20  04:41:50  tes
    74    * For version 1.1
    75    *
    76  */
    77 
    7847
    7948static void PrintInvfWord (FILE *invfFile,
Note: See TracChangeset for help on using the changeset viewer.