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
201e6861
Commit
201e6861
authored
Jul 29, 2016
by
Jason Merrill
Committed by
Jason Merrill
Jul 29, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (build_enumerator): Tweak diagnostic.
From-SVN: r238873
parent
35909ec3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/cp/ChangeLog
+2
-0
gcc/cp/decl.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
201e6861
2016-07-29 Jason Merrill <jason@redhat.com>
* decl.c (build_enumerator): Tweak diagnostic.
PR c++/72457
* init.c (expand_aggr_init_1): Only handle value-init of bases.
* constexpr.c (build_data_member_initialization): Handle multiple
...
...
gcc/cp/decl.c
View file @
201e6861
...
...
@@ -13590,7 +13590,7 @@ build_enumerator (tree name, tree value, tree enumtype, tree attributes,
if
(
!
INTEGRAL_OR_UNSCOPED_ENUMERATION_TYPE_P
(
TREE_TYPE
(
value
)))
{
error
(
"enumerator for %qD must have integral or "
error
(
"enumerator
value
for %qD must have integral or "
"unscoped enumeration type"
,
name
);
value
=
NULL_TREE
;
}
...
...
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