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
e4a2ac1a
Commit
e4a2ac1a
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
* cpplex.c (is_macro_disabled): Use CPP_TRADITIONAL.
From-SVN: r34988
parent
20217ac1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
gcc/ChangeLog
+2
-0
gcc/cpplex.c
+1
-1
No files found.
gcc/ChangeLog
View file @
e4a2ac1a
2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cpplex.c (is_macro_disabled): Use CPP_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 @
e4a2ac1a
...
...
@@ -2069,7 +2069,7 @@ is_macro_disabled (pfile, expansion, token)
if
(
next
->
type
!=
CPP_OPEN_PAREN
)
{
_cpp_push_token
(
pfile
,
next
);
if
(
CPP_
OPTION
(
pfile
,
warn_traditional
))
if
(
CPP_
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