NO

Author Topic: GCC flag equivalent for Pelles C compiler level 1  (Read 2449 times)

mderidder

  • Guest
GCC flag equivalent for Pelles C compiler level 1
« on: September 28, 2006, 09:00:47 PM »
I was wondering if anyone knew what the flags for gcc would be to replicate or be as closely to the warnings for the compiler that is used by Pelles?

cane

  • Guest
GCC flag equivalent for Pelles C compiler level 1
« Reply #1 on: September 29, 2006, 01:33:04 PM »
I don't know exactly how to mimic PellesC behavior on warnings with GCC, but you can proceed by tentative switches which control the warnings production:

http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Warning-Options.html#Warning-Options

Maybe -Wall can be near enough.

kalikiana

  • Guest
GCC flag equivalent for Pelles C compiler level 1
« Reply #2 on: September 30, 2006, 04:35:33 PM »
As far as I know GCC doesn't have the same "recommending" warnings which tell you about code style issues and the like if you mean that. Of course, there are many useful options available. Say PellesC has some unique 'comfort' functions.