At 10:21 AM +0100 12/29/03, Matthieu Herrb wrote:
Hi,

The process that builds XFree86 manual pages needs cpp -traditional
when GNU cpp is used.

Although the man pages build correctly I suppose you are trying to avoid the "multi-line string literals are deprecated" warning. Good idea.


I'd propose to apply the following patch do darwin.cf.

Index: darwin.cf
===================================================================
RCS file: /cvs/xf86/xc/config/cf/darwin.cf,v
retrieving revision 1.46
diff -u -r1.46 darwin.cf
--- darwin.cf   18 Nov 2003 19:00:14 -0000      1.46
+++ darwin.cf   29 Dec 2003 09:15:28 -0000
@@ -153,6 +153,7 @@
  */
 #if OSMajorVersion >= 7
 # define CppCmd                 /usr/bin/cpp3
+# define StandardCppOptions    -traditional
 #else
 # define CppCmd                 /usr/bin/cpp
 #endif

This fixes the manpage warnings, but this makes __GNUC__ become undefined. Probably using:


#define StandardCppOptions -traditional -D__GNUC__

is the safest bet although this has the side effect that __GNUC__ is always defined even with RawCppCmd. To make the Panther case identical to previous versions you'd have to make special case for RawCppCmd as well, which is likely not worth the complexity.

--Torrey
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to