]> gcc.gnu.org Git - gcc.git/commit
[C++ PATCH] Remove K&R declaration hack.
authorNathan Sidwell <nathan@acm.org>
Fri, 31 Aug 2018 11:19:33 +0000 (11:19 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 31 Aug 2018 11:19:33 +0000 (11:19 +0000)
commit5020c88e539e0212beec3568fb088ab95f484022
treec75d0f1844e0d348ab762f048d09ca137a0aaec1
parent553bb257848e469053abe84abf8987f0bdbe315a
[C++ PATCH] Remove K&R declaration hack.

https://gcc.gnu.org/ml/gcc-patches/2018-08/msg01885.html
gcc/
* doc/extend.texi (Backwards Compatibility): Remove implicit
extern C leeway of () being (...).
gcc/cp/
* decl.c (decls_match): Remove SYSTEM_IMPLICIT_EXTERN_C matching
of return types and parms.
* parser.c (cp_parser_parameter_declaration_clause): Likewise,
'()' always means '(void)'.

From-SVN: r264013
gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/parser.c
gcc/doc/extend.texi
This page took 0.065288 seconds and 5 git commands to generate.