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
2dc693ee
Commit
2dc693ee
authored
May 17, 2000
by
Bruce Korb
Committed by
Bruce Korb
May 17, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Keep HP-UX 11 from stomping on C++ math namespace
From-SVN: r33957
parent
e9099386
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
0 deletions
+22
-0
gcc/ChangeLog
+2
-0
gcc/fixinc/fixincl.x
+0
-0
gcc/fixinc/inclhack.def
+20
-0
No files found.
gcc/ChangeLog
View file @
2dc693ee
...
...
@@ -4,6 +4,8 @@
*
fixinc
/
fixincl
.
c
:
improve
the
debug
displays
,
ignore
SIGPIPE
*
fixinc
/
server
.
c
:
likewise
*
fixinc
/
fixfixes
.
c
(
char_macro_def_fix
)
:
fix
regex
*
fixinc
/
inclhack
.
def
(
hpux11_fabsf
)
:
Keep
HP
-
UX
11
from
stomping
on
C
++
math
namespace
2000
-
05
-
17
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
...
...
gcc/fixinc/fixincl.x
View file @
2dc693ee
This diff is collapsed.
Click to expand it.
gcc/fixinc/inclhack.def
View file @
2dc693ee
...
...
@@ -931,6 +931,26 @@ fix = {
/*
* Keep HP-UX 11 from stomping on C++ math namespace
* with defines for fabsf.
*/
fix = {
hackname = hpux11_fabsf;
files = math.h;
select = "^[ \t]*#[ \t]*define[ \t]+fabsf\\(.*";
bypass = "__cplusplus";
c_fix = format;
c_fix_arg = "#ifndef __cplusplus\n%0\n#endif";
test_text =
"#ifdef _PA_RISC\n"
"# define fabsf(x) ((float)fabs((double)(float)(x)))\n"
"#endif";
};
/*
* get rid of bogus inline definitions in HP-UX 8.0
*/
fix = {
...
...
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