parent
da50295639
commit
0fd0b7ee98
|
@ -10064,9 +10064,9 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, attrlist)
|
||||||
|
|
||||||
explicit_int = -1;
|
explicit_int = -1;
|
||||||
|
|
||||||
/* We handle `main' specially here, because 'main () { }' is so
|
/* We handle `main' specially here, because 'main () { }' is so
|
||||||
common. With no options, it is allowed. With -Wreturn-type,
|
common. With no options, it is allowed. With -Wreturn-type,
|
||||||
it is a warning. It is only an error with -pedantic-errors. */
|
it is a warning. It is only an error with -pedantic-errors. */
|
||||||
is_main = (funcdef_flag
|
is_main = (funcdef_flag
|
||||||
&& MAIN_NAME_P (dname)
|
&& MAIN_NAME_P (dname)
|
||||||
&& ctype == NULL_TREE
|
&& ctype == NULL_TREE
|
||||||
|
|
Loading…
Reference in New Issue