Re: tinyx breaks build on RedHat 6.2

2004-07-25 Thread David Dawes
On Fri, Jul 23, 2004 at 11:43:50AM +0100, Dr Andrew C Aitchison wrote:
tinyx breaks build on RedHat 6.2 / egcs-1.1.2 / glibc-2.1.3

many .c files break in /usr/include/sys/io.h because of the combination of
the inline derective  and the -ansi compiler option.
sis530/sis.h has the definition
   #define inline __inline__

This definiton would appear to be needed more widely throughout
tinyx

Yep, I'll commit something like that soon.

Any ideas how more modern compilers/libcs avoid this problem ?

By using __inline__ or __inline in the system headers?

David
___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


tinyx breaks build on RedHat 6.2

2004-07-23 Thread Dr Andrew C Aitchison
tinyx breaks build on RedHat 6.2 / egcs-1.1.2 / glibc-2.1.3

many .c files break in /usr/include/sys/io.h because of the combination of
the inline derective  and the -ansi compiler option.
sis530/sis.h has the definition
#define inline __inline__

This definiton would appear to be needed more widely throughout
tinyx

Any ideas how more modern compilers/libcs avoid this problem ?

-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel