Please switch on all warnings, I think it would be nice to see them. I tried to write warnings free code, but different compilers give useful hints sometimes.
On Wed, Feb 20, 2008 at 10:59 PM, Sergey Lyubka <[EMAIL PROTECTED]> wrote: > It seems it does not like __inline. > try to add "#define __inline inline" at the beginning of io.h > I do not have solaris with cc at the moment, unfortunately. > > > > On Wed, Feb 20, 2008 at 9:42 PM, David Huffman <[EMAIL PROTECTED]> wrote: > > Can shttpd be compiled on Solaris using Sun's C compiler and not gcc? I > > am trying to compile and it fails on the first file with syntax errors: > > > > # make unix > > cc -c string.c -o string.o > > "io.h", line 28: warning: no explicit type given > > "io.h", line 28: syntax error before or at: void > > "io.h", line 36: warning: no explicit type given > > "io.h", line 36: syntax error before or at: char > > "io.h", line 45: warning: no explicit type given > > "io.h", line 45: syntax error before or at: char > > "io.h", line 54: warning: no explicit type given > > "io.h", line 54: syntax error before or at: size_t > > "io.h", line 63: warning: no explicit type given > > "io.h", line 63: syntax error before or at: size_t > > "io.h", line 73: warning: no explicit type given > > "io.h", line 73: syntax error before or at: void > > "io.h", line 86: warning: no explicit type given > > "io.h", line 86: syntax error before or at: void > > cc: acomp failed for string.c > > *** Error code 2 > > make: Fatal error: Command failed for target `string.o > > > > Thanks > > David Huffman > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > shttpd-general mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/shttpd-general > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ shttpd-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shttpd-general
