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: Can't turn off overflow_warning?


Andrew Pinski <pinskia@physics.uc.edu> writes:

| On Jul 15, 2005, at 10:27 PM, Bradley Lucier wrote:
| 
| > After examining the source and documentation, it appears to me that
| > in 4.0.* and on mainline one cannot turn off the warning generated
| > by overflow_warning, in, for example,
| 
| IIRC the C standard requires that a warning here but I could be wrong.

Please not again.  
The C standard knows nothing about warning.  There is a notion of
diagnostic but I don't think it makes any sense in the particular case
Brad describes.  

| 
| -- Pinski

-- 
                                                       Gabriel Dos Reis 
                                           gdr@integrable-solutions.net


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