This is the mail archive of the gcc-help@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: warning: NULL used in arithmetic


The option -Werror makes warnings fatal.  With the more thorough
checking of headers since gcc 4.1, it frequently becomes necessary to
prevent -Werror from being set.  If I were to give a personal opinion,
the idea of ascribing a numerical value to NULL seems sufficiently
objectionable to deserve fatality.

so if i understand correctly now in gcc 4.1 all warnings are treated
as errors and it will not let the link phase happen and hence the
build will fail.

Satya


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