From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2515 invoked by alias); 27 Nov 2002 08:28:45 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 2466 invoked from network); 27 Nov 2002 08:28:44 -0000 Received: from unknown (HELO mail.enyo.de) (212.9.189.162) by sources.redhat.com with SMTP; 27 Nov 2002 08:28:44 -0000 Received: from [212.9.189.171] (helo=deneb.enyo.de) by mail.enyo.de with esmtp (Exim 3.34 #2) id 18GxYW-0008Kf-00; Wed, 27 Nov 2002 09:28:24 +0100 Received: from fw by deneb.enyo.de with local (Exim 3.34 #4) id 18GxYS-0000SS-00; Wed, 27 Nov 2002 09:28:20 +0100 To: "Jing Lee" Cc: Subject: Re: GCC compiling problem on solaris intel machine References: From: Florian Weimer Mail-Followup-To: "Jing Lee" , Date: Wed, 27 Nov 2002 00:28:00 -0000 In-Reply-To: ("Jing Lee"'s message of "Mon, 25 Nov 2002 17:48:35 -0500") Message-ID: <87lm3f1knv.fsf@deneb.enyo.de> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-11/txt/msg00193.txt.bz2 "Jing Lee" writes: > sun/misc/SoftCacheProxyForward.h:5: parse error before numeric constant > #ifndef __sun_misc_ResourceProxyForward_H > #define __sun_misc_ResourceProxyForward_H > > namespace sun > { You are compiling this on Solaris, right? "sun" is probably a predefined preprocessor macro, so after preprocessing your code becomes: | namespace 1 | { I'm sorry, I don't know how you can get rid of the "sun" macro without disturbing the header files.