cpp -traditional broken?
Ruslan Ermilov
ru at FreeBSD.org
Fri Dec 26 06:19:43 PST 2003
I was wondering why my today's rebuild of XFree86-4-clients
gave me the black-n-white xdm(1) greeting window, upsetting
me a bit. It turned out to be a problem with recent cpp(1)
version.
The /usr/X11R6/lib/X11/xdm/Xresources file is generated by
cpp(1); on RELENG_4, the following command
echo '/**/#if FOO' | cpp -P -traditional
gives you "#if FOO" (as expected by the XFree86 build),
while on 5.2-CURRENT it gives you nothing, and results in
missing parts of the Xresources file, i.e., the new cpp(1)
treats '/**/#if' as a preprocessing directive, while the
old cpp(1) version didn't.
This is with system GCC 3.3.3 compiler. Is this a known
issue?
Cheers,
--
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031226/f248863c/attachment.bin
More information about the freebsd-current
mailing list