🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Francois Pinard Sun, 23 Aug 1992 02:45
GNU indent 1.6 installation report
#705
Author: Francois Pinard
Date: Sun, 23 Aug 1992 02:45
33 lines
1516 bytes
This message pertains on GNU indent 1.6 installation, compiled with
GNU C 1.40 under COFF-encapsulation on a 386/ix 2.0.2 system (waiting
for Hurd to be ready :-).

For version 1.5, I suggested changing, in sys.h:

      #ifdef __STDC__
      #define INLINE inline
      #else
      #define INLINE
      #endif

by:

      #ifdef __GNUC__
      #define INLINE __inline__
      #else
      #define INLINE
      #endif

>From 1.5 to 1.6, the first line has been changed, the second has not.
Both changes are still necessary.  On this system, CC is predefined to
`gcc -ansi -Di386', and GNU C used together with -ansi does not define
inline, but only __inline__.  Node (gcc.info)Inline says:

   (If you are writing a header file to be included in ANSI C
   programs, write `__inline__' instead of `inline'.  *Ref Alternate
   Keywords::.)

-- 
Franc,ois Pinard        ``Vivement GNU!''        pinard@iro.umontreal.ca
(514) 588-4656                                    ...!uunet!iros1!pinard
Consider joining the League for Programming Freedom.  Email for details!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads