"Fossies" - the Fresh Open Source Software Archive

Member "ncc-2.8/doc/int8_t.redefined.error" (23 Sep 2006, 496 Bytes) of package /linux/privat/old/ncc-2.8.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 You may get this error in a modern GNU system.
    2 Check out the preprocessed source (-ncspp option), and search
    3 for `int8_t'.  If you see a line like
    4 
    5 	typedef int int8_t __attribute__ ((__mode__ (QI)));
    6 
    7 You've got it. This is serious braindamage from glibc (again).
    8 Please edit the file /usr/include/sys/types.h.  It sais:
    9 
   10 	#if !__GNU_PREREQ (2,7)
   11 	... good typedefs
   12 	#else
   13 	... braindamaged typedefs
   14 	#endif
   15 
   16 Change the if to
   17 
   18 	#if !__GNU_PREREQ (2,7) || defined __NCC__
   19 
   20 That's perfectly safe.