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
b9bf5af8
Commit
b9bf5af8
authored
Jul 12, 2000
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
Jul 12, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops, use CPP_WTRADITIONAL, not CPP_TRADITIONAL.
From-SVN: r34989
parent
e4a2ac1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
gcc/ChangeLog
+1
-1
gcc/cpplex.c
+1
-1
No files found.
gcc/ChangeLog
View file @
b9bf5af8
2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cpplex.c (is_macro_disabled): Use CPP_TRADITIONAL.
* cpplex.c (is_macro_disabled): Use CPP_
W
TRADITIONAL.
* c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
...
...
gcc/cpplex.c
View file @
b9bf5af8
...
...
@@ -2069,7 +2069,7 @@ is_macro_disabled (pfile, expansion, token)
if
(
next
->
type
!=
CPP_OPEN_PAREN
)
{
_cpp_push_token
(
pfile
,
next
);
if
(
CPP_TRADITIONAL
(
pfile
))
if
(
CPP_
W
TRADITIONAL
(
pfile
))
cpp_warning
(
pfile
,
"function macro %.*s must be used with arguments in traditional C"
,
(
int
)
token
->
val
.
node
->
length
,
token
->
val
.
node
->
name
);
...
...
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