Hi David,
No problem with these warnings. All of them are in comparisons
between a value returned by strlen and an int number.
The prototype of strlen according to man pages is:
size_t strlen(const char *s);
I gess size_t is unsigned int for MicroSoft C.
The final release will include some cast to int in this
comparisons to avoid these warnings.
> Compiling...
> Check.c
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Check.c(189) : warning C4018: '==' : signed/unsigned mismatch
> Dirent.c
> Docprop.c
> Error.c
> File.c
> Fs.c
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Fs.c(362) : warning C4018: '>' : signed/unsigned mismatch
> Hash.c
> Http.c
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Http.c(244) : warning C4018: '>=' : signed/unsigned mismatch
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Http.c(411) : warning C4018: '>=' : signed/unsigned mismatch
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Http.c(431) : warning C4018: '>=' : signed/unsigned mismatch
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Http.c(437) : warning C4018: '>=' : signed/unsigned mismatch
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Http.c(467) : warning C4018: '>=' : signed/unsigned mismatch
> httpserver.c
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\httpserver.c(137) : warning C4018: '>=' : signed/unsigned mismatch
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\httpserver.c(143) : warning C4018: '>=' : signed/unsigned mismatch
> Index.c
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Index.c(481) : warning C4018: '<' : signed/unsigned mismatch
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Index.c(711) : warning C4018: '<' : signed/unsigned mismatch
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Index.c(876) : warning C4018: '<' : signed/unsigned mismatch
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Index.c(1955) : warning C4018: '<' : signed/unsigned mismatch
> List.c
> Mem.c
> Merge.c
> Methods.c
> Search.c
> Soundex.c
> Stemmer.c
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Stemmer.c(459) : warning C4018: '<' : signed/unsigned mismatch
> String.c
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\String.c(402) : warning C4018: '>' : signed/unsigned mismatch
> Swish.c
> C:\Projects\swish-e-1.3.2-PHRASEm\Src\Swish.c(186) : warning C4018: '>=' : signed/unsigned mismatch
> Linking...
--
Jose Ruiz
jmruiz@boe.es
Received on Tue Jun 13 12:12:37 2000