home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / hp / 14428 < prev    next >
Encoding:
Text File  |  1992-12-30  |  620 b   |  38 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!news.gtech.com!ayr
  3. From: ayr@gtech.com (Aleksey Y. Romanov)
  4. Subject: cc -Aa does not like unsigned short
  5. Message-ID: <1992Dec30.200114.5642@gtech.com>
  6. Sender: news@gtech.com (USENET Administrator)
  7. Organization: GTECH Corporation, West Greenwich, RI
  8. Distribution: usa
  9. Date: Wed, 30 Dec 1992 20:01:14 GMT
  10. Lines: 26
  11.  
  12.  
  13.  
  14. Hi, I have a following problem
  15.  
  16. #if defined(__STDC__)
  17. int foo(unsigned short);
  18. #else
  19. int foo();
  20. #endif
  21.  
  22.  
  23. int
  24. foo(s)
  25.     unsigned short s;
  26. {
  27.  
  28.    ...
  29.  
  30. }
  31.  
  32.  
  33. gives me an error 1711: Inconsistent parameter list declaration for "foo"
  34.  
  35. when compiled with -Aa option.
  36.  
  37.  
  38.