home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.help
- Path: 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
-
-
- 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
-