home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / gcc / help / 2035 < prev    next >
Encoding:
Text File  |  1992-09-02  |  931 b   |  29 lines

  1. Newsgroups: gnu.gcc.help
  2. Path: sparky!uunet!usc!rpi!sarah!dinner.asrc.albany.edu!rob
  3. From: rob@dinner.asrc.albany.edu (Robert D. Seals)
  4. Subject: Howcum -Wall doesn't include -Wformat on Sparc?
  5. Message-ID: <1992Sep2.122026.22823@sarah.albany.edu>
  6. Sender: news@sarah.albany.edu (News Administrator)
  7. Organization: SUNYA - ASRC, Albany, NY
  8. Distribution: gnu
  9. Date: Wed, 2 Sep 92 12:20:26 GMT
  10. Lines: 17
  11.  
  12.  
  13. Hello,
  14. I just brought up 2.2.2 on our Sparcstation 2, and noticed that
  15. #include <stdio.h> still doesn't know what 'printf' is, even
  16. though I ran fixincludes. So I looked in gcc.info-5, and saw
  17. that format checking is enabled by -Wformat. It's true, the
  18. format was checked, and no complaints. But on my RS/6000,
  19. -Wall includes -Wformat. Why isn't this so on the Sparc? And how
  20. can I add it in? And how do I get the declarations of printf/scanf
  21. known to the compiler?
  22.  
  23. Thank you,
  24. rob
  25. -- 
  26. ------
  27. Crazy, man.
  28. rob@dinner.asrc.albany.edu
  29.