This is the mail archive of the gcc-help@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] |
Andrew Haley-5 wrote:
BTW, in my opinion it is dangerous. Usually one can rely on compile or link errors to catch mismatched function characteristics, but with attributes there is no such checking. So even if you aren't doing something *really* dangerous, like working with virtual methods, you might do what I did, and you'll never know about it until you notice you've mismatched your attributes. So if you ask me, attributes like this one should be used sparingly, and with much caution.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |