Re: Why is it dangerous?



Julian wrote:

Please advise my instructor says gcc is overly pedantic.

As Richard said, the opposite is true unless you invoke gcc with the
correct options. That's why it has a -pedantic option!

As a learner using gcc, you should use

gcc -ansi -Wall -pedantic

as a minimum set of options. Substitute '-std=c99' for '-ansi' if you
are learning C99.

--
Ian Collins.
.



Relevant Pages

  • Re: Why is it dangerous?
    ... the opposite is true unless you invoke gcc with ... the correct options. ... As a learner using gcc, ...
    (comp.lang.c)
  • Re: Why is it dangerous?
    ... the opposite is true unless you invoke gcc with ... the correct options. ... As a learner using gcc, ...
    (comp.lang.c)
  • Re: Serious compiler problem
    ... Martin Dickopp wrote: ... I have a very big problem with GCC (maybe this is wrong thread, ... >>saved it, and tried to compile again, and it suddenly gave me this. ... >to invoke gcc. ...
    (Debian-User)