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
a6b29221
Commit
a6b29221
authored
May 23, 2018
by
Jason Merrill
Committed by
Jason Merrill
May 23, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* system.h: #include <new> earlier.
From-SVN: r260620
parent
3d76db63
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
libcpp/ChangeLog
+4
-0
libcpp/system.h
+4
-4
No files found.
libcpp/ChangeLog
View file @
a6b29221
2018
-
05
-
23
Jason
Merrill
<
jason
@
redhat.com
>
*
system.h
:
#include
<
new
>
earlier.
2018
-
05
-
17
Jason
Merrill
<
jason
@
redhat.com
>
*
line
-map.c
(
linemap_init
):
Use
placement
new.
...
...
libcpp/system.h
View file @
a6b29221
...
...
@@ -37,6 +37,10 @@ along with GCC; see the file COPYING3. If not see
#include <stdio.h>
#ifdef __cplusplus
#include <new>
#endif
/* Define a generic NULL if one hasn't already been defined. */
#ifndef NULL
#define NULL 0
...
...
@@ -438,10 +442,6 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
/* Some compilers do not allow the use of unsigned char in bitfields. */
#define BOOL_BITFIELD unsigned int
#ifdef __cplusplus
#include <new>
#endif
/* Poison identifiers we do not want to use. */
#if (GCC_VERSION >= 3000)
#undef calloc
...
...
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