This is the mail archive of the gcc-patches@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: [PATCH]: Fix problematic -Wcast-qual cases using new CONST_CAST macro


Kaveh R. GHAZI wrote:

> How about a __nowarn__ keyword that works similar to __extension__?
> Instead of twiddling the pedantic flag, it would push/pop the
> inhibit_warnings variable inside gcc to silence warnings at the statement
> level.
> 
> I'm about halfway through a patch.  If you're amenable to the idea I'll
> finish it up and post it.

I don't have any objections to that.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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