Bug 8931 - XDarwinHelp.html.cpp:25: error: #if with no expression
Summary: XDarwinHelp.html.cpp:25: error: #if with no expression
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.1 (2006.05)
Hardware: PowerPC Mac OS X (All)
: high normal
Assignee: Jeremy Huddleston Sequoia
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-07 04:57 UTC by Peter Dyballa
Modified: 2008-11-08 14:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Dyballa 2006-11-07 04:57:12 UTC
When building the X server, in xserver/hw/darwin/bundle/English.lproj/XDarwinHelp.html.cpp the error 
above is reported, because:

	#if X_PRE_RELEASE

Mac OS X 10.4.8
GCC 4.0.1
Release 7.1.99.2
Comment 1 Peter Dyballa 2006-11-07 11:46:38 UTC
The same error also appears in:

xserver/hw/darwin/bundle/Dutch.lproj/XDarwinHelp.html.cpp:25
xserver/hw/darwin/bundle/German.lproj/XDarwinHelp.html.cpp:25
xserver/hw/darwin/bundle/Japanese.lproj/XDarwinHelp.html.cpp:25
xserver/hw/darwin/bundle/ko.lproj/XDarwinHelp.html.cpp:25

The error obviously comes from invoking cpp:

/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -
DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  
XDarwinHelp.html.cpp | sed ... > XDarwinHelp.html
Comment 2 Daniel Stone 2007-02-27 01:34:31 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 Peter Dyballa 2007-03-12 04:38:16 UTC
After a 'make distclean' it still happens:

ranlib libiokit.a
Making all in bundle
Making all in English.lproj
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  XDarwinHelp.html.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > XDarwinHelp.html
XDarwinHelp.html.cpp:25: error: #if with no expression
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  InfoPlist.strings.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' | sed -e's/__quote__/"/g' > InfoPlist.strings
Making all in Dutch.lproj
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org" -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  XDarwinHelp.html.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > XDarwinHelp.html
XDarwinHelp.html.cpp:25: error: #if with no expression
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  ../English.lproj/InfoPlist.strings.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' | sed -e's/__quote__/"/g' > InfoPlist.strings
Making all in French.lproj
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  XDarwinHelp.html.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > XDarwinHelp.html
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  ../English.lproj/InfoPlist.strings.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' | sed -e's/__quote__/"/g' > InfoPlist.strings
Making all in German.lproj
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org" -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  XDarwinHelp.html.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > XDarwinHelp.html
XDarwinHelp.html.cpp:25: error: #if with no expression
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  ../English.lproj/InfoPlist.strings.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' | sed -e's/__quote__/"/g' > InfoPlist.strings
Making all in Japanese.lproj
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  XDarwinHelp.html.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > XDarwinHelp.html
XDarwinHelp.html.cpp:26: error: #if with no expression
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  ../English.lproj/InfoPlist.strings.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' | sed -e's/__quote__/"/g' > InfoPlist.strings
Making all in ko.lproj
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  XDarwinHelp.html.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > XDarwinHelp.html
XDarwinHelp.html.cpp:25: error: #if with no expression
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  ../English.lproj/InfoPlist.strings.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' | sed -e's/__quote__/"/g' > InfoPlist.strings
Making all in Portuguese.lproj
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  XDarwinHelp.html.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' > XDarwinHelp.html
/usr/bin/cpp  -DX_VERSION="7.1.99.2" -DX_PRE_RELEASE="" -DX_REL_DATE="" -DX_VENDOR_NAME="The X.Org Foundation" -DX_VENDOR_LINK="http://wiki.x.org"  ../English.lproj/InfoPlist.strings.cpp | sed -e '/^#  *[0-9][0-9]*  *.*$/d' -e '/^#line  *[0-9][0-9]*  *.*$/d' -e '/^[         ]*XCOMM$/s/XCOMM/#/' -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[         ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' | sed -e's/__quote__/"/g' > InfoPlist.strings
Making all in Spanish.lproj
Comment 4 Jeremy Huddleston Sequoia 2008-11-08 14:45:58 UTC
This file doesn't exist any more.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.