Date: Tue, 27 Jul 1999 09:46:33 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Endlisnis cc: djgpp AT delorie DOT com Subject: Re: __attribute__((unused)), gcc get's confused...? In-Reply-To: <379CDE99.3E957B4@unb.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mon, 26 Jul 1999, Endlisnis wrote: > b.cc(1) Error: parse error before `__attribute__' > In function `int main(...)': I don't think you said it was a C++ program in your original message (if you did, I missed it and I apologize). __attribute__ support in the C++ compiler has several bugs, up to and including the current pretest versions of GCC 2.95. FWIW, your example compiles without any problems as a C program.