compiling toplev.c on openVMS/Alpha with DEC C

Klaus Kaempf kkaempf@progis.de
Sat Oct 11 08:41:00 GMT 1997


The declaration of sbrk() in toplev.c isn't compatible with DEC C on openVMS/Alpha

Sat Oct 11 16:24:00 1997  Klaus Kaempf (kkaempf@progis.de)

	* toplev.c: change declaration of sbrk() for DEC C on openVMS/Alpha

===================================================================
RCS file: RCS/toplev.c,v
retrieving revision 1.1
diff -c -r1.1 toplev.c
*** toplev.c	1997/10/08 10:22:52	1.1
--- toplev.c	1997/10/09 17:08:22
***************
*** 182,188 ****
--- 182,192 ----
  #define MAX_LINE 75
  
  #ifdef __alpha
+ #ifdef VMS
+ extern void *sbrk ();
+ #else
  extern char *sbrk ();
+ #endif
  #endif
  
  /* Name of program invoked, sans directories.  */

-- 
proGIS Software                 E-Mail: kkaempf@progis.de
Dipl.-Inform. Klaus K"ampf      Fax:    0241-47067-29
Jakobstr. 117                   Voice:  0241-47067-11
D-52064 Aachen                  WWW:	http://www.progis.de




More information about the Gcc mailing list