Re: warning: NULL used in arithmetic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux