$(CPP) -traditional is non-portable

Alan Coopersmith Alan.Coopersmith at Sun.COM
Fri May 20 21:23:44 PDT 2005


Building in the nls directories of lib/X11, I'm getting a ton of errors:

cc -E -traditional -DWCHAR32=1 -DXCOMM='#' - < XLC_LOCALE.pre > XLC_LOCALE
cc: Warning: illegal option -ditional
cc: -a conflicts with -dy.
*** Error code 1

Please remember $(CPP) -traditional is not portable to non-gcc compilers
and if you need  -traditional with gcc it needs to be conditional on gcc
use in the configure.ac.   (I'd rip it all out, but it would be better to
properly conditionalize it instead.)

-- 
	-Alan Coopersmith-           alan.coopersmith at sun.com
	 Sun Microsystems, Inc. - X Window System Engineering



More information about the xorg-modular mailing list