From xemacs-m  Sun Jun 29 08:20:04 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id IAA29743
	for <xemacs-beta@xemacs.org>; Sun, 29 Jun 1997 08:20:04 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id GAA21020; Sun, 29 Jun 1997 06:43:50 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id GAA01094; Sun, 29 Jun 1997 06:19:34 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id GAA09086; Sun, 29 Jun 1997 06:19:34 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id GAA13870; Sun, 29 Jun 1997 06:19:32 -0700
Date: Sun, 29 Jun 1997 06:19:32 -0700
Message-Id: <199706291319.GAA13870@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr>
Cc: Xemacs-beta ML <xemacs-beta@xemacs.org>
Subject: SGI's cc strikes again
In-Reply-To: <19970629124053.39448@iria.mines.u-nancy.fr>
References: <19970629124053.39448@iria.mines.u-nancy.fr>
X-Mailer: VM 6.32 under 20.3 "Sofia" XEmacs  Lucid (beta9)
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "OG" == Olivier Galibert <Olivier.Galibert@mines.u-nancy.fr> writes:

OG> SGI's cc is detected as SunPro's C. This doesn't break
OG> anything... yet.

OG> The reason ? Easy enough :
OG> configure:1894: checking whether we are using SunPro C
OG> configure:1906: cc -c -64 -g       conftest.c 1>&5
OG> "configure", line 1900: warning(1035): #error directive: Not a  SunPro
OG>           compiler :-(

OG>   #error Not a  SunPro compiler :-(
OG>    ^

OG> configure:2191: checking for dynodump
OG> [...]

OG> Treating #error as a warning. Never saw anything that stupid
OG> before...

Agreed.  We'll have to come up with something that even SGI's cc will
fail to compile.  You wouldn't think inventing a syntax error would be
a problem.

!@#$%

Martin

