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
e0c72e78
Commit
e0c72e78
authored
Feb 27, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(compile_file): Use pedwarn_with_decl to warn about
functions declared static but not defined. From-SVN: r3560
parent
86aed40b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
gcc/toplev.c
+1
-1
No files found.
gcc/toplev.c
View file @
e0c72e78
...
...
@@ -1874,7 +1874,7 @@ compile_file (name)
&&
DECL_INITIAL
(
decl
)
==
0
&&
DECL_EXTERNAL
(
decl
)
&&
!
TREE_PUBLIC
(
decl
))
warning
_with_decl
(
decl
,
"`%s' declared `static' but never defined"
);
pedwarn
_with_decl
(
decl
,
"`%s' declared `static' but never defined"
);
/* Warn about static fns or vars defined but not used,
but not about inline functions
since unused inline statics is normal practice. */
...
...
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