This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
compiling toplev.c on openVMS/Alpha with DEC C
- To: egcs at cygnus dot com (egcs list)
- Subject: compiling toplev.c on openVMS/Alpha with DEC C
- From: kkaempf at progis dot de (Klaus Kaempf)
- Date: Sat, 11 Oct 1997 16:31:07 +0100 (MET)
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