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
d71f83ca
Commit
d71f83ca
authored
Feb 02, 1997
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(start_function): Fix improper installation of last change.
From-SVN: r13581
parent
906a2d3c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
gcc/c-decl.c
+8
-8
No files found.
gcc/c-decl.c
View file @
d71f83ca
...
...
@@ -6293,16 +6293,16 @@ start_function (declspecs, declarator, prefix_attributes, attributes, nested)
"third argument of `%s' should probably be `char **'"
);
break
;
}
}
/* It is intentional that this message does not mention the third
argument, which is warned for only pedantically, because it's
blessed by mention in an appendix of the standard. */
if
(
argct
>
0
&&
(
argct
<
2
||
argct
>
3
))
pedwarn_with_decl
(
decl1
,
"`%s' takes only zero or two arguments"
);
/* It is intentional that this message does not mention the third
argument, which is warned for only pedantically, because it's
blessed by mention in an appendix of the standard. */
if
(
argct
>
0
&&
(
argct
<
2
||
argct
>
3
))
pedwarn_with_decl
(
decl1
,
"`%s' takes only zero or two arguments"
);
if
(
argct
==
3
&&
pedantic
)
pedwarn_with_decl
(
decl1
,
"third argument of `%s' is deprecated"
);
}
if
(
argct
==
3
&&
pedantic
)
pedwarn_with_decl
(
decl1
,
"third argument of `%s' is deprecated"
);
if
(
!
TREE_PUBLIC
(
decl1
))
pedwarn_with_decl
(
decl1
,
"`%s' is normally a non-static function"
);
...
...
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