| www.delorie.com/archives/browse.cgi | search |
| Date: | Tue, 27 Jul 1999 09:46:33 +0300 (IDT) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Endlisnis <s257m AT unb DOT ca> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: __attribute__((unused)), gcc get's confused...? |
| In-Reply-To: | <379CDE99.3E957B4@unb.ca> |
| Message-ID: | <Pine.SUN.3.91.990727094614.5354I-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |