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,
[descartes:~] lucier% cat test.c
#include stdio.h
int main() {
if (1048256 * 1048256 0)
printf(1);
else
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
If I were to propose a patch, which way should I go?
Why not check out my recently posted -Wpragmas patch on gcc-patches?
It takes a set of existing non-optional warnings, and gives them an
option that can be used to disable them, which defaults to on
(i.e. -Wno-pragmas is the useful option).
Andrew Pinski [EMAIL PROTECTED] 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