This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc-2.95.2, Next 4.2, __attribute__ not fully supported


NeXT Cube running Openstep 4.2.
gmake CFLAGS='-O2' LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2
-fno-implicit-templates' bootstrap

In spite of being gcc 2.7+, the NeXT 4.2 compiler doesn't support  
__attribute__ fully. This patch just sets MINOR to 8 to eliminate the  
problem.


*** gansidecl.h.orig    Sat Oct 30 23:02:24 1999
--- gansidecl.h Sat Oct 30 23:02:53 1999
***************
*** 47,53 ****
  # define inline __inline__  /* Modern gcc can use `__inline__' freely. */
  #endif /* GCC >= 2.7 */

! #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7)
  # define __attribute__(x)
  #endif

--- 47,53 ----
  # define inline __inline__  /* Modern gcc can use `__inline__' freely. */
  #endif /* GCC >= 2.7 */

! #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8)
  # define __attribute__(x)
  #endif


---
Where diesel guitars from faraway bars, blast out the
best songs from our holy wars. Coyote carnival catches
on fire, all the cops in the world pick us up on radar.
Jim McKelvey  mckelvey@fafnir.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]