Article View: gnu.utils.bug
Article #705GNU indent 1.6 installation report
From: Francois Pinard
Date: Sun, 23 Aug 1992 02:45
Date: Sun, 23 Aug 1992 02:45
33 lines
1516 bytes
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!
Technical Details
Message-ID:
<9208230245.AA01819@icule.UUCP>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!icule.UUCP!pinardShow Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!icule.UUCP!pinard From: pinard@icule.UUCP (Francois Pinard) Subject: GNU indent 1.6 installation report Message-ID: <9208230245.AA01819@icule.UUCP> Sender: gnulists@ai.mit.edu Reply-To: pinard@iro.umontreal.ca Organization: GNUs Not Usenet Distribution: gnu Date: Sun, 23 Aug 1992 02:45:44 GMT Approved: bug-gnu-utils@prep.ai.mit.edu Lines: 34