On Tue, 2005-12-06 at 00:55 -0500, Chris Shoemaker wrote: > Well, that's exactly why this warning was recently added to gcc, and > why the glib and gtk+ sources were tagged with attribute((sentinel)). > (Although that also has the benefit of catching no sentinel at all > which is more important than sentinal-of-wrong-size.) As to why it's > currently enabled only for g++, I have no idea. I've asked on the gcc > ML.
Sentinel checking works across the board in gcc4. Its strict sentinel checking that can only be enabled when compiling C++ code. David _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel