[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] almost there..... Newbie trying to compile Mint v1.17...



Alan Hourihane wrote:
Can you try this patch ?

For the first time I understand that the attribute __always_inline__ did not exist in GCC 2.95, and it is the source of our problem...

To fix such issues, the glibc used on Linux does the following:

/usr/include/sys/cdefs.h

/* Forces a function to be always inlined.  */
#if __GNUC_PREREQ (3,2)
# define __always_inline __inline __attribute__ ((__always_inline__))
#else
# define __always_inline __inline
#endif

Then __always_inline is used everywhere.
We should do the same.

--
Vincent Rivière