[ARI] Add "bzero"

Joel Brobecker brobecker@adacore.com
Thu May 21 00:27:00 GMT 2009


> For this specific case, and some others like it, perhaps using #pragma
> poison would be better.  That would result in a compile time error,
> rather than a report on a web page.

I really liked the idea and gave it a quick try, but I don't know
how to make it work. I thought I would put the pragma at the end of
defs.h, since defs.h is always included.  But defs.h is also always
the first file to be included, and so any #include that follows it
which references any of the poisoned identifier will cause an error.

Do you see another way?

Thanks,
-- 
Joel



More information about the Gdb-patches mailing list