This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: warning: NULL used in arithmetic
satyaakam goswami wrote:
> -Werror
The option -Werror makes all warnings fatal not it being GCC 4.1.
Without knowing what options you passed to the compiler it all
guesswork.
I short google search came up with possible cause of aliasing, note I
use 3.4.5 so no direct knowedge of the issue.
You might look for the options
-Wstrict-aliasing
Might wish to try the options below
-fno-strict-aliasing
Tim S