Article View: gnu.gcc.bug
Article #2064Addition to 'fixincludes' -- for SUN only
From: Don Becker
Date: Tue, 20 Dec 1988 22:50
Date: Tue, 20 Dec 1988 22:50
40 lines
1602 bytes
1602 bytes
(This should either be put in a 'README.sun' file, or done automatically in fixincludes.) Under SunOS 3.5 the files <sunwindow/win_cursor.h> <suntool/icon.h> and <pixrect/memvar.h> reference the macro 'CAT' which is defined in <pixrect/memvar.h>. To work correctly under ANSI C, memvar.h should be changed as follows: cd /usr/include/pixrect/ diff -c memvar.h /usr/local/lib/gcc-include/pixrect/memvar.h *** memvar.h Mon Sep 15 16:55:23 1986 --- /usr/local/lib/gcc-include/pixrect/memvar.h Tue Dec 13 14:51:50 1988 *************** *** 92,103 **** */ /* First a pair of utility macros that allow concatenation in a fashion that ! * won't annoy lint (These belong in a standard header file!): */ #ifndef CAT ! #undef IDENT ! #define IDENT(x) x ! #define CAT(a,b) IDENT(a)b #endif #define mpr_static(name, w, h, d, image) \ --- 92,101 ---- */ /* First a pair of utility macros that allow concatenation in a fashion that ! * won't' annoy lint (These belong in a standard header file!): */ #ifndef CAT ! #define CAT(a,b) a##b #endif #define mpr_static(name, w, h, d, image) \
Technical Details
Message-ID:
<8812202251.AA18876@trantor.harris-atd.com>Path:
arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!TRANTOR.HARRIS-ATD.COM!beckerShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!tut.cis.ohio-state.edu!TRANTOR.HARRIS-ATD.COM!becker From: becker@TRANTOR.HARRIS-ATD.COM (Don Becker) Newsgroups: gnu.gcc.bug Subject: Addition to 'fixincludes' -- for SUN only Message-ID: <8812202251.AA18876@trantor.harris-atd.com> Date: 20 Dec 88 22:50:15 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 39