This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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]

-Wnon-literal-null-conversion on clang


The gdb-7.9 sources have one warning with
-Wnon-literal-null-conversion on clang...

./tui/tui-stack.c:385:16: warning: expression which evaluates to zero
treated as a null pointer constant of type 'CORE_ADDR *' (aka
'unsigned long *')
      [-Wnon-literal-null-conversion]
                                            &low, (CORE_ADDR) 0) == 0)
                                                  ^~~~~~~~~~~~~
Is that worth fixing?


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