This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Using conditional instructions in a macro
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Pascal Francq <pfrancq at ulb dot ac dot be>
- Cc: gcc at gcc dot gnu dot org
- Date: 01 Aug 2003 07:31:49 -0300
- Subject: Re: Using conditional instructions in a macro
- Organization: GCC Team, Red Hat
- References: <200308011219.47315.pfrancq@ulb.ac.be>
On Aug 1, 2003, Pascal Francq <pfrancq@ulb.ac.be> wrote:
> I try to make a macro that uses conditional instructions in it.
This language you're trying to write in is not C. Move the
#if/#else/#endif out, and define DUMMI in one of the two ways
depending on the test.
That said, this forum is not appropriate for this question. It's
devoted to the development *of* GCC, not *with* GCC. Try some forum
devoted to the C language next time (news:comp.lang.c), or, for help
in installing or using GCC, the gcc-help mailing list.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer