Re: [Geany-devel] Can't compile Geany with -ansi (va_copy is undefined)
On 21 May 2011 18:23, Eugene Arshinov earshi...@gmail.com wrote: Hi, and sorry for spamming this list. I recently tried to compile Geany with -ansi flag as the HACKING file suggests. When compiling mio-memory.c GCC reports a warning that va_copy is undefined, and linker fails with the same message. Should something be done about it? Hi Eugene, The problem is likely to be that your glib wasn't configured with --ansi so the use of the G_VA_COPY created a call to va_copy which is C99 and so not allowed with --ansi. The advice in hacking might need to be altered to note that some systems may not be able to compile with --ansi because headers that they depend on use later than --ansi standards. Cheers Lex ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Re: [Geany-devel] Can't compile Geany with -ansi (va_copy is undefined)
On Sat, 21 May 2011 18:37:43 +1000 Lex Trotman ele...@gmail.com wrote: On 21 May 2011 18:23, Eugene Arshinov earshi...@gmail.com wrote: Hi, and sorry for spamming this list. I recently tried to compile Geany with -ansi flag as the HACKING file suggests. When compiling mio-memory.c GCC reports a warning that va_copy is undefined, and linker fails with the same message. Should something be done about it? Hi Eugene, The problem is likely to be that your glib wasn't configured with --ansi so the use of the G_VA_COPY created a call to va_copy which is C99 and so not allowed with --ansi. The advice in hacking might need to be altered to note that some systems may not be able to compile with --ansi because headers that they depend on use later than --ansi standards. Hi. Thanks for the clear explanation. -- Best regards, Eugene. ___ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel