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] |
error: nested functions are disabled, use -fnested-functions to re-enable
Some platforms have nested functions disabled by default (including FreeBSD, IIRC).
1) why is there a problem with the mac os x port ?
There is no problem, it's just a configuration choice.
2) is my test program good enough ? Is there a better way to check the availability of __attribute__ ?
Move your test function outside of main() so it won't be nested.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |