<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39926 >

Begasus wrote:
> /R5/S2_2/server/settings.c:992: warning: preprocessing directive not 
> recognized within macro arg
> /R5/S2_2/server/settings.c:993: `#elif' not within a conditional
> /R5/S2_2/server/settings.c:995: `#else' not within a conditional
> /R5/S2_2/server/settings.c:997: unbalanced `#endif'
> make[1]: *** [settings.o] Error 1
> 
   GEN_INT("compresstype", game.info.save_compress_type,
           SSET_META, SSET_INTERNAL, SSET_RARE, SSET_SERVER_ONLY,
           N_("Savegame compression algorithm"),
           N_("Compression library to use for savegames.\n"
              " 0 - none\n"
              " 1 - zlib (gzip format)\n"
              " 2 - bzip2\n"
              "Not all servers support all compression methods."), NULL,
#if !defined(HAVE_LIBBZ2) && !defined(HAVE_LIBZ)
           FZ_PLAIN, FZ_PLAIN, FZ_PLAIN)
#elif !defined(HAVE_LIBBZ2) && defined(HAVE_LIBZ)
           FZ_PLAIN, FZ_ZLIB, FZ_ZLIB)
#else
           FZ_PLAIN, FZ_BZIP2, FZ_BZIP2)
#endif

What compiler?  Apparently, as the error is clearly stated, it doesn't like
the #if in the middle of the GEN_INT macro.



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to