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
297aa668
Commit
297aa668
authored
Feb 05, 2020
by
Martin Sebor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove trailing comma to avoid pedantic warning in C++ 98 mode: comma at end of enumerator list
parent
e7868dc6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
libcpp/ChangeLog
+5
-0
libcpp/include/cpplib.h
+1
-1
No files found.
libcpp/ChangeLog
View file @
297aa668
2020
-
02
-
05
Martin
Sebor
<
msebor
@
redhat.com
>
*
include
/
cpplib.h
(
cpp_builtin_type
):
Remove
trailing
comma
to
avoid
pedantic
warnings
in
C
++
98
mode.
2020
-
02
-
04
Jakub
Jelinek
<
jakub
@
redhat.com
>
*
macro.c
(
builtin_has_include
):
Diagnose
__has_include
*
use
outside
...
...
libcpp/include/cpplib.h
View file @
297aa668
...
...
@@ -862,7 +862,7 @@ enum cpp_builtin_type
BT_HAS_ATTRIBUTE
,
/* `__has_attribute(x)' */
BT_HAS_BUILTIN
,
/* `__has_builtin(x)' */
BT_HAS_INCLUDE
,
/* `__has_include(x)' */
BT_HAS_INCLUDE_NEXT
,
/* `__has_include_next(x)' */
BT_HAS_INCLUDE_NEXT
/* `__has_include_next(x)' */
};
#define CPP_HASHNODE(HNODE) ((cpp_hashnode *) (HNODE))
...
...
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