XLC cpp
Marc Kwiatkowski {Host Software-AIX}
marc at mercutio.ultra.com
Wed May 15 12:43:25 AEST 1991
Is it my imagination, or is it really impossible to get the XLC
C preprocessor to allow macros with variable parameter lists?
The following produces warnings but processes correctly for SunOS 4.1,
and no warnings for AIX/1.2.1 but fails for AIXv3.1
#define DEBUG(x) printf x
I've tried the four flavors of cpp supported by -qlanglvl flag.
Same result. Interestingly the cpp,
/usr/lpp/X11/Xamples/util/cpp/cpp, provided with X works.
Do I really have to use the X11 cpp to make reasonable
debug macros?
--
------------------------------------------------------------------
Marc P. Kwiatkowski Ultra Network Technologies
Internet: marc at ultra.com 101 Daggett Drive
uucp: ...!ames!ultra!marc San Jose, CA 95134 USA
telephone: 408 922 0100 x249
Ignore the following signature.
--
------------------------------------------------------------------
Marc P. Kwiatkowski Ultra Network Technologies
Internet: marc at ultra.com 101 Daggett Drive
uucp: ...!ames!ultra!marc San Jose, CA 95134 USA
More information about the Comp.unix.aix
mailing list