This is the mail archive of the gcc-patches@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] |
The original code was just:
19907 mmitchel else if (pedantic && DECL_MAIN_P (arg)) 133519 dgregor { 133519 dgregor /* ARM $3.4 */ 133519 dgregor if (complain & tf_error) 133519 dgregor pedwarn ("ISO C++ forbids taking address of function %<::main%>"); 133519 dgregor else 133519 dgregor return error_mark_node; 133519 dgregor }
So reverting back to this should be enough
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |