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
6fdf191d
Commit
6fdf191d
authored
Mar 03, 2000
by
Jason Merrill
Committed by
Jason Merrill
Mar 03, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
From-SVN: r32312
parent
3c18f2d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
gcc/ChangeLog
+1
-0
gcc/cppinit.c
+2
-2
No files found.
gcc/ChangeLog
View file @
6fdf191d
...
@@ -38,6 +38,7 @@ Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
...
@@ -38,6 +38,7 @@ Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
(SET_CPP_PEDANTIC): New macro.
(SET_CPP_PEDANTIC): New macro.
* cpplib.c (do_include): Don't bother checking system_header_p.
* cpplib.c (do_include): Don't bother checking system_header_p.
(do_warning, do_ident, do_assert, do_unassert): Likewise.
(do_warning, do_ident, do_assert, do_unassert): Likewise.
* cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
* function.h (struct expr_status): Add x_arg_space_so_far.
* function.h (struct expr_status): Add x_arg_space_so_far.
(arg_space_so_far): New macro.
(arg_space_so_far): New macro.
...
...
gcc/cppinit.c
View file @
6fdf191d
...
@@ -1196,10 +1196,10 @@ cpp_handle_option (pfile, argc, argv)
...
@@ -1196,10 +1196,10 @@ cpp_handle_option (pfile, argc, argv)
case
'p'
:
case
'p'
:
if
(
!
strcmp
(
argv
[
i
],
"-pedantic"
))
if
(
!
strcmp
(
argv
[
i
],
"-pedantic"
))
CPP_PEDANTIC
(
pfile
)
=
1
;
SET_CPP_PEDANTIC
(
pfile
)
;
else
if
(
!
strcmp
(
argv
[
i
],
"-pedantic-errors"
))
else
if
(
!
strcmp
(
argv
[
i
],
"-pedantic-errors"
))
{
{
CPP_PEDANTIC
(
pfile
)
=
1
;
SET_CPP_PEDANTIC
(
pfile
)
;
opts
->
pedantic_errors
=
1
;
opts
->
pedantic_errors
=
1
;
}
}
break
;
break
;
...
...
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