public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/9878] New: -Wstrict-prototypes
@ 2009-02-21 15:50 pedro at codesourcery dot com
  2009-02-21 15:51 ` [Bug build/9878] -Wstrict-prototypes pedro at codesourcery dot com
  0 siblings, 1 reply; 2+ messages in thread
From: pedro at codesourcery dot com @ 2009-02-21 15:50 UTC (permalink / raw)
  To: gdb-prs

GDB doesn't build with -Wstrict-prototypes.  It would be nice if it did.

To try it out, compile with something like:

 make CFLAGS="-g3 -O2 -Wstrict-prototypes -Wmissing-prototypes" WERROR_CFLAGS=""
2>warnings.txt

This may be tricky when relying on external dependencies that aren't in system
headers.

-- 
           Summary: -Wstrict-prototypes
           Product: gdb
           Version: 6.50
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: build
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: pedro at codesourcery dot com
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=9878

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug build/9878] -Wstrict-prototypes
  2009-02-21 15:50 [Bug build/9878] New: -Wstrict-prototypes pedro at codesourcery dot com
@ 2009-02-21 15:51 ` pedro at codesourcery dot com
  0 siblings, 0 replies; 2+ messages in thread
From: pedro at codesourcery dot com @ 2009-02-21 15:51 UTC (permalink / raw)
  To: gdb-prs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |9877
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1


http://sourceware.org/bugzilla/show_bug.cgi?id=9878

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-21 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-21 15:50 [Bug build/9878] New: -Wstrict-prototypes pedro at codesourcery dot com
2009-02-21 15:51 ` [Bug build/9878] -Wstrict-prototypes pedro at codesourcery dot com

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).