On Tue, Sep 09, 2008 at 06:56:13PM +0000, Raiker wrote:
> The warnings come from calling a macro like this: macro(,something) i assume
> before the , there should be something because the compiler isnt noticing that
> it's supposed to just send null (am i right?)...
> the errors i havent figured out why they happen yet...

I see. There is not supposed to be anything before the "," in those
calls. This causes the macro to expand to "struct { ... }" instead of
"struct name { ... }". This is perfectly legal C. I'd hate to redefine
what is essentially a set of 20-year old macros that everybody expects
to work this way, just for the sake of a broken compiler.

To confirm this, can you try replacing "AG_TAILQ_HEAD(,foo)" by
"AG_TAILQ_HEAD(fooq,foo)" in the headers?

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to