home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / hp / 14642 < prev    next >
Encoding:
Text File  |  1993-01-08  |  1.4 KB  |  44 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!spool.mu.edu!torn!newshost.uwo.ca!news
  3. From: zaphod@ctrg.rri.uwo.ca (Lance R. Bailey)
  4. Subject: cc(1) bug in 9.0
  5. Reply-To: zaphod@ctrg.rri.uwo.ca
  6. Organization: University of Western Ontario
  7. Distribution: na
  8. Date: Fri, 8 Jan 1993 12:27:00 GMT
  9. Message-ID: <1993Jan8.122700.18581@julian.uwo.ca>
  10. Sender: news@julian.uwo.ca (USENET News System)
  11. Nntp-Posting-Host: cupoftea.ctrg.rri.uwo.ca
  12. Lines: 30
  13.  
  14. since updating to 9.0 on my 822/S, I have found the c compiler to complain
  15. about options which i do not use:
  16.  
  17. $ cat hello.c
  18. #include <stdio.h>
  19. main()
  20. {    printf("hem hem hem, hello world\n");
  21.      exit(0);
  22. }
  23. $
  24. $ cc hello.c
  25. cc: warning 422: Unknown option "O" ignored.
  26. cc: warning 422: Unknown option "0" ignored.
  27. cc: warning 422: Unknown option "A" ignored.
  28. cc: warning 422: Unknown option "c" ignored.
  29. $
  30. $ a.out
  31. hem hem hem, hello world
  32. $
  33.  
  34. the compile finishes and loads, but why is the compiler complaining about 
  35. options "0OAc" when i do not use them. there is no CCOPTS in my environment.
  36.  
  37.  
  38. --
  39. Lance R. Bailey  System/Network Manager         Robarts Research Institute
  40.      NeXT/email: zaphod@ctrg.rri.uwo.ca    box: Clinical Trials Resources Group
  41.             fax: +1 519 663 3789                P.O. Box 5015, 100 Perth Dr.
  42.             vox: +1 519 663 3787 x4108          London, Canada N6A 5K8
  43. Far too few people correctly spell the words "connexion" and "shew"
  44.