This is the mail archive of the gcc@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: Disable warnings in code


> What is the reason that the GCC compiler does not support a feature to 
> disable compiler warning from within the source code?
> Most other major compiler support this capability.  What is GCC's 
> reluctance to implement it?

Not clear there is any reluctance here. If you think it 
is a useful feature, propose a language feature and propose an
implementation.

Note that this feature does exist in GNAT (pragma Warnings)


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