home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / gnu / gcc / bug / 2333 < prev    next >
Encoding:
Text File  |  1992-09-14  |  774 b   |  31 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!qin.berkeley.edu!talvola
  3. From: talvola@qin.berkeley.edu (Erik Talvola)
  4. Subject: Problem in gcc v2.2.2 compilation under VMS
  5. Message-ID: <9209141804.AA15703@qin.Berkeley.EDU>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 14 Sep 1992 18:04:59 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 18
  12.  
  13. GCC v2.2.2 under VAX-VMS, compiling with GCC v2.2.2
  14.  
  15. In rtl.c, ftell() is declared as:
  16.  
  17. extern long ftell();
  18.  
  19. But, in the VMS stdio.h header file, there is a definition
  20. of ftell() as:
  21.  
  22. int ftell (FILE *file_ptr);
  23.  
  24. which causes the declaration in rtl.c to get an error message.
  25. Either the rtl.c definition should be removed, or an #ifndef VMS
  26. needs to be put around it.
  27.  
  28. --- Erik
  29.  
  30.  
  31.