Thomas Dickey wrote:
> Bob Friesenhahn wrote:
> > These options only work with GCC. If the compiler is GCC you can use
> > them, otherwise skip them.
>
> The Intel compiler recognizes -Wall and -Werror (but not -pedantic in
> the version I have at hand).
The Intel compiler was actively trying t
On Fri, 25 Apr 2008, Bob Friesenhahn wrote:
On Fri, 25 Apr 2008, NightStrike wrote:
On 4/25/08, Peter O'Gorman <[EMAIL PROTECTED]> wrote:
NightStrike wrote:
-Wall and -pedantic... AM_CFLAGS or AM_CPPFLAGS?
Neither. Neither are portable, so the do not belong in the Makefile.am,
check for gc
* Bob Friesenhahn wrote on Fri, Apr 25, 2008 at 11:32:34PM CEST:
> On Fri, 25 Apr 2008, NightStrike wrote:
>>
>> Is there a configure test to see if -Wall works?
>
> These options only work with GCC. If the compiler is GCC you can use
> them, otherwise skip them.
FWIW, icc supports -Wall, too.
On Fri, 25 Apr 2008, NightStrike wrote:
On 4/25/08, Peter O'Gorman <[EMAIL PROTECTED]> wrote:
NightStrike wrote:
-Wall and -pedantic... AM_CFLAGS or AM_CPPFLAGS?
Neither. Neither are portable, so the do not belong in the Makefile.am,
check for gcc in configure and append them to CFLAGS if th
On 4/25/08, Peter O'Gorman <[EMAIL PROTECTED]> wrote:
> NightStrike wrote:
> > -Wall and -pedantic... AM_CFLAGS or AM_CPPFLAGS?
>
> Neither. Neither are portable, so the do not belong in the Makefile.am,
> check for gcc in configure and append them to CFLAGS if they work.
I didn't know they weren'
NightStrike wrote:
> -Wall and -pedantic... AM_CFLAGS or AM_CPPFLAGS?
Neither. Neither are portable, so the do not belong in the Makefile.am,
check for gcc in configure and append them to CFLAGS if they work.
Peter
--
Peter O'Gorman
http://pogma.com