This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Typedef redeclaration -> Warning only ?


Hi Nicolas,

>Isn't there an other way to disable these errors ?

If you disable the errors, you fail to "keep it pure C".

My strong recommendation is to fix the errors.  Do not try to sweep them
under the rug by changing the language to "something that is very similar to
C, but is not C".  (That is to say, I discourage you making your own C-like
language just to patch some bad programming habits.)

Sincerely,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]