public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* -Wnon-literal-null-conversion on clang
@ 2015-02-27 21:07 Jack Howarth
  0 siblings, 0 replies; only message in thread
From: Jack Howarth @ 2015-02-27 21:07 UTC (permalink / raw)
  To: gdb

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?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-27 18:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-27 21:07 -Wnon-literal-null-conversion on clang Jack Howarth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).