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

Christian Prochaska wrote on Nov 25, 19:41 (-0800):
> > > Daniel Markstedt wrote:
> > > >
> > > > Make fails on a recent dev snapshot with:
> > > >
> > > > In file included from intl-compat.c:20:
> > > > ../config.h:29:96: missing terminating " character

> I guess the problem is the additional quotes in FC_STORE_CPPFLAGS. Now
> the line is probably interpreted as multi-line definition:
> 
> #define FC_STORE_CPPFLAGS " -DDEFAULT_DATA_PATH="\
>                           ".:data:~/.freeciv:${datarootdir}/freeciv\"" "
> 
> But this doesn't seem to happen with all compiler versions. 
> 
> A possible solution would be to use single quotes for the FC_STORE_*
> definitions:
> 
> AC_DEFINE_UNQUOTED([FC_STORE_CPPFLAGS], ['$CPPFLAGS'], [These are the
> CPPFLAGS used in compilation])
> 
> These definitions are never used in Freeciv code, so single quotes
> shouldn't be a problem in this case.

Your patch helps me compile V 2.1 beta with
$ gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)


Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



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

Reply via email to