jed-users mailing list

[2006 Date Index] [2006 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: undefined CPP constants


Joerg Sommer <joerg@xxxxxxxxxxxx> wrote:
>I would suggest these compiler flags for gcc: -Wformat=2 -Wunused -Wundef
>-Wextra

The -Wextra does not work with my version of gcc (3.3.5).  I usually
compile with these flags:

   -Wall -W -pedantic -Wno-long-long -Winline \
     -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
     -Wcast-align -Wshadow -Wstrict-prototypes

I will also start using -Wunused and -Wundef.

Thanks,
--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2006 date index] [2006 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]