Article View: gnu.gcc.help
Article #344Howcum -Wall doesn't include -Wformat on Sparc?
From: Robert D. Seals
Date: Wed, 02 Sep 1992 12:20
Date: Wed, 02 Sep 1992 12:20
17 lines
959 bytes
959 bytes
Hello, I just brought up 2.2.2 on our Sparcstation 2, and noticed that #include <stdio.h> still doesn't know what 'printf' is, even though I ran fixincludes. So I looked in gcc.info-5, and saw that format checking is enabled by -Wformat. It's true, the format was checked, and no complaints. But on my RS/6000, -Wall includes -Wformat. Why isn't this so on the Sparc? And how can I add it in? And how do I get the declarations of printf/scanf known to the compiler? Thank you, rob -- ------ Crazy, man. rob@dinner.asrc.albany.edu
Technical Details
Message-ID:
<1992Sep2.122026.22823@sarah.albany.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!sarah!dinner.asrc.albany.edu!robShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!sarah!dinner.asrc.albany.edu!rob From: rob@dinner.asrc.albany.edu (Robert D. Seals) Subject: Howcum -Wall doesn't include -Wformat on Sparc? Message-ID: <1992Sep2.122026.22823@sarah.albany.edu> Sender: news@sarah.albany.edu (News Administrator) Organization: SUNYA - ASRC, Albany, NY Distribution: gnu Date: Wed, 2 Sep 92 12:20:26 GMT Lines: 17