projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c3947
)
revert an unattended change about access declaration
author
Fabien Chêne
<fabien@gcc.gnu.org>
Tue, 13 Dec 2011 21:18:03 +0000
(22:18 +0100)
committer
Fabien Chêne
<fabien@gcc.gnu.org>
Tue, 13 Dec 2011 21:18:03 +0000
(22:18 +0100)
From-SVN: r182308
gcc/cp/parser.c
patch
|
blob
|
history
diff --git
a/gcc/cp/parser.c
b/gcc/cp/parser.c
index 91280b785a2bb575bd2ed5a05a8d63d30a65610b..ae15eb17b8d08f00cdede1c4cf9d11d01365e238 100644
(file)
--- a/
gcc/cp/parser.c
+++ b/
gcc/cp/parser.c
@@
-18920,11
+18920,7
@@
cp_parser_member_declaration (cp_parser* parser)
parser->colon_corrects_to_scope_p = false;
if (cp_parser_using_declaration (parser, /*access_declaration=*/true))
- {
- warning (OPT_Wdeprecated, "access declarations are deprecated; "
- "employ using declarations instead");
goto out;
- }
/* Parse the decl-specifier-seq. */
decl_spec_token_start = cp_lexer_peek_token (parser->lexer);