Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
e9359c71
Commit
e9359c71
authored
Jan 21, 1999
by
Jason Merrill
Committed by
Jason Merrill
Jan 21, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (grokdeclarator): Fix lang_c -> lang_name_c typo.
From-SVN: r24807
parent
470b68c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
e9359c71
1999-01-21 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (grokdeclarator): Fix lang_c -> lang_name_c typo.
1999-01-21 Mark Mitchell <mark@markmitchell.com>
* cp-tree.h (PARM_DECL_EXPR): Delete.
...
...
gcc/cp/decl.c
View file @
e9359c71
...
...
@@ -11031,7 +11031,7 @@ grokdeclarator (declarator, declspecs, decl_context, initialized, attrlist)
/* Divergence from the standard: In extern "C", we
allow non-static data members here, because C does
and /usr/include/netinet/in.h uses that. */
&&
(
staticp
||
current_lang_name
!=
lang_c
))
&&
(
staticp
||
current_lang_name
!=
lang_
name_
c
))
cp_pedwarn
(
"ANSI C++ forbids data member `%D' with same name as enclosing class"
,
declarator
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment