home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2772 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.3 KB  |  43 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!dl5000.bc.edu!morgan
  3. From: morgan@dl5000.bc.edu (Morgan Stair)
  4. Subject: Bug with varargs.h and stdio.h
  5. Message-ID: <MORGAN.92Nov16153353@dl5000.bc.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Institute for Space Research, Boston College
  8. Distribution: gnu
  9. Date: Mon, 16 Nov 1992 20:33:53 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 30
  12.  
  13. /*-
  14.  * tester.c
  15.  *
  16.  * This program shows the following error when compiled by gcc-2.3.1 on
  17.  * my Sun Sparc 1+ with SunOS 4.1.1
  18.  *
  19.  *
  20.  
  21. In file included from /software/gcc-2.3.1/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1/include/stdarg.h:32, from /software/gcc-2.3.1/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1/include/stdio.h:2, from tester.c:16:
  22. /software/gcc-2.3.1/lib/gcc-lib/sparc-sun-sunos4.1.1/2.3.1/include/va-sparc.h:45: warning: useless keyword or type name in empty declaration
  23.  
  24.  *
  25.  *
  26.  * The error does not occurr when <stdio.h> is put before <varargs.h>
  27.  *
  28.  */
  29.  
  30. #include <varargs.h>
  31. #include <stdio.h>
  32.  
  33. main()
  34. {
  35. }
  36. --
  37. ***************************************
  38. * Morgan Stair <Morgan@DL5000.BC.EDU> *
  39. * BC / Institute for Space Research   *
  40. * (617)552-8783                       *
  41. ***************************************
  42.  
  43.