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
cd916110
Commit
cd916110
authored
Oct 21, 1998
by
Jason Merrill
Committed by
Jason Merrill
Oct 20, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* typeck.c (build_component_ref): Use of a type here is an error.
From-SVN: r23207
parent
352f608a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/typeck.c
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
cd916110
1998-10-21 Jason Merrill <jason@yorick.cygnus.com>
* typeck.c (build_component_ref): Use of a type here is an error.
1998-10-19 Jason Merrill <jason@yorick.cygnus.com>
Revamp references to member functions.
...
...
gcc/cp/typeck.c
View file @
cd916110
...
...
@@ -2053,8 +2053,8 @@ build_component_ref (datum, component, basetype_path, protect)
field
=
component
;
else
if
(
TREE_CODE
(
component
)
==
TYPE_DECL
)
{
cp_
pedwarn
(
"invalid use of type decl `%#D' as expression"
,
component
);
return
component
;
cp_
error
(
"invalid use of type decl `%#D' as expression"
,
component
);
return
error_mark_node
;
}
else
{
...
...
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