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
4be70bc7
Commit
4be70bc7
authored
Sep 23, 1998
by
Gerald Pfeifer
Committed by
Gerald Pfeifer
Sep 23, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* friend.c (do_friend): Make warning a full sentence.
From-SVN: r22555
parent
b0ec467a
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/friend.c
+1
-1
No files found.
gcc/cp/ChangeLog
View file @
4be70bc7
Tue Sep 22 21:01:19 1998 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* friend.c (do_friend): Make warning a full sentence.
1998-09-22 Mark Mitchell <mark@markmitchell.com>
1998-09-22 Mark Mitchell <mark@markmitchell.com>
* parse.y (component_decl_list): Improve error-recovery.
* parse.y (component_decl_list): Improve error-recovery.
...
...
gcc/cp/friend.c
View file @
4be70bc7
...
@@ -459,7 +459,7 @@ do_friend (ctype, declarator, decl, parmdecls, flags, quals, funcdef_flag)
...
@@ -459,7 +459,7 @@ do_friend (ctype, declarator, decl, parmdecls, flags, quals, funcdef_flag)
warning
(
" (if this is not what you intended, make sure"
);
warning
(
" (if this is not what you intended, make sure"
);
warning
(
" the function template has already been declared,"
);
warning
(
" the function template has already been declared,"
);
warning
(
" and add <> after the function name here)"
);
warning
(
" and add <> after the function name here)"
);
warning
(
"
To disable warning use -Wno-non-template-friend
"
);
warning
(
"
-Wno-non-template-friend disables this warning.
"
);
explained
=
1
;
explained
=
1
;
}
}
}
}
...
...
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