This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Errors/warnings during documentation compilation
- To: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Subject: Re: Errors/warnings during documentation compilation
- From: Alan Hourihane <alanh at fairlite dot demon dot co dot uk>
- Date: Thu, 3 May 2001 21:07:10 +0100
- Cc: "'cygwin-xfree at cygwin dot com'" <cygwin-xfree at cygwin dot com>
- References: <7F2B9185F0196F44B59990759B91B1C23C36D7@ins-exch.inspirepharm.com>
On Thu, May 03, 2001 at 03:52:54PM -0400, Suhaib Siddiqi wrote:
>
> >
> > On Thu, May 03, 2001 at 06:31:03AM -0400, Suhaib Siddiqi wrote:
> > >Harold,
> > >This is sed issue under Cygwin. I do not know how to fix sed
> > >therefore I have been ignoring them so far. The HTML pages from man
> > >pages are created anyway.
> >
> > Sounds like a pretty old version of sed or ash.
>
> Not really, i get still same warnings from sed distributed
> with Cygwin 1.1.3. As I said these are the warning, and HTML pages
> are created anyway, therefore so far I have not paid much attention
> to it.
>
It's not sed. It's the definition of -traditional when processing the
pages to cpp. The following patch fixes it.
This is a diff from the current CVS.
Alan.
Index: cygwin.cf
===================================================================
RCS file: /X11R6/x-cvs/xc/config/cf/cygwin.cf,v
retrieving revision 3.12
diff -u -r3.12 cygwin.cf
--- cygwin.cf 2001/05/01 20:00:02 3.12
+++ cygwin.cf 2001/05/03 20:03:46
@@ -113,10 +115,11 @@
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
#define HasWChar32 YES
+#define StandardCppOptions -traditional
#if UseCygIPC
-# define StandardCppDefines -traditional -DHAS_SHM StandardDefines
+# define StandardCppDefines -DHAS_SHM StandardDefines
#else
-# define StandardCppDefines -traditional StandardDefines
+# define StandardCppDefines StandardDefines
#endif
#define ServerOSDefines XFree86ServerDefines -DDDXTIME -DFD_SETSIZE=256 -DDXOSINIT
#define XkbServerDefines -DXKB_ALWAYS_USES_SOFT_REPEAT