c:\bc5\grx-2.3.1\test>make -f makefile.bcc
MAKE Version 4.0 Copyright (c) 1987, 1996 Borland International
c:\bc5\bin\bcc -c -O -G -Z -2 -ml -w -w-par -w-stv -d -k- -I..\include -Ic:\ bc5\include -obgilink.obj bgilink.c Borland C++ 5.0 Copyright (c) 1987, 1996 Borland International bgilink.c: Error ..\include\libbcc.h 511: Declaration syntax error *** 1 errors in Compile *** ** error 1 ** deleting bgilink.obj
libbcc.h:510: __inline__ static void restorecrtmode(void) { __gr_restorecrtmode(); }
Many (all?) GRX inline functions are declared as __inline__ instead of INLINE. And the inline functions in Borland C (all versions) are introduced with a #pragma inline.
E-gards: Jimmy