On 6/14/05, Ulrich Eckhardt <[EMAIL PROTECTED]> wrote: > Paul Giblock wrote: > > #ifndef _WIDGET_H_ > > #define _WIDGET_H_ > > I have no idea if it makes a diff, but I personally don't take chances in > this. Therefore: macros with an underscore and a capital are reserved to the > compiler/stdlib, never use them! Other than that, this include guard is sooo > generic that it almost cries for colliding with others (by other widgetsets). > Add some random data plus the creation date and you're much safer.
That's not true. double underscores are reserved for the standard library... I do agree the include guard is very generic, however... I usually include my namespace (if I have one) or project name... #ifndef _MYPROJ__WIDGET_H_ that's unique enough Anyway, this is way off topic 8) _______________________________________________ libsigc-list mailing list libsigc-list@gnome.org http://mail.gnome.org/mailman/listinfo/libsigc-list