Re: FreeBSD GCC warnings

2008-10-18 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Sat, Oct 18, 2008 at 12:59:30PM CEST: > >Maybe it is time to publish AM_SUBST_NOTMAKE which is like AC_SUBST > > Of course! Currently, in projects which use automake, AC_SUBST with multiline > values will only work if all lines except possibly the first one start

Re: FreeBSD GCC warnings

2008-10-18 Thread Bruno Haible
Hello Ralf, > > Oops, that did not work. autoconf >= 2.60 supports multiline replacements > > in AC_SUBST, but 'automake' and 'make' don't. > > Well. There is no mapping that will automatically make multiline values > be correctly escaped for makefiles. Maybe it is time to publish > AM_SUBST_NO

Re: FreeBSD GCC warnings

2008-10-17 Thread Ralf Wildenhues
Hi Bruno, * Bruno Haible wrote on Sat, Oct 18, 2008 at 02:46:13AM CEST: > > ! PRAGMA_SYSTEM_HEADER='#if __GNUC__ >= 3 > > ! #pragma GCC system_header > > ! #endif' > > Oops, that did not work. autoconf >= 2.60 supports multiline replacements > in AC_SUBST, but 'automake' and 'make' don't.

Re: FreeBSD GCC warnings

2008-10-17 Thread Bruno Haible
> ! PRAGMA_SYSTEM_HEADER='#if __GNUC__ >= 3 > ! #pragma GCC system_header > ! #endif' Oops, that did not work. autoconf >= 2.60 supports multiline replacements in AC_SUBST, but 'automake' and 'make' don't. I've reverted the commit and done this instead: 2008-10-17 Bruno Haible <[EMAIL PR

Re: FreeBSD GCC warnings

2008-10-17 Thread Bruno Haible
Hi Yoann, > stdio.h:20: warning: ignoring pragma: system_header > stdlib.h:19: warning: ignoring pragma: system_header > string.h:22: warning: ignoring pragma: system_header > strings.h:22: warning: ignoring pragma: system_header > [...] > > This is on FreeBSD 4.10-RELEASE, gcc version 2.95.4 200

FreeBSD GCC warnings

2008-10-17 Thread Yoann Vandoorselaere
Hi, I'm getting report from users that they get a lot of the following warnings: stdio.h:20: warning: ignoring pragma: system_header stdlib.h:19: warning: ignoring pragma: system_header string.h:22: warning: ignoring pragma: system_header strings.h:22: warning: ignoring pragma: system_header [...