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: rfc: macros accepting constructors


> > 	foo(((vector int){0, 1, 2, 3}));
> 
> I'm probably wrong, but to me it sounded like the guys where smoking the old 
> "but macros should behave exactly like functions" pipe. Looks like the smoke 
> haven't cleared yet.

well they should... especially since ansi says that library functions
(ahem, printf, strlen, etc), can be implemented as macros.  they *should*
behave like functions.

and now with C99 bringing about these {aggregate initilizers}, this
are bound to get broken, if you pass them around.

oh well, it seems no one is agreeing with me on this one.

aldy


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