This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using conditional instructions in a macro


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]