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
abd3817f
Commit
abd3817f
authored
Jan 21, 2004
by
Bruce Korb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reorder struct exception hacks and only bypass glibc for proper C++ handling
From-SVN: r76246
parent
0144d441
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
gcc/fixinc/tests/base/math.h
+11
-11
No files found.
gcc/fixinc/tests/base/math.h
View file @
abd3817f
...
@@ -7,16 +7,16 @@
...
@@ -7,16 +7,16 @@
This had to be done to correct non-standard usages in the
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
original, manufacturer supplied header file. */
#ifndef FIXINC_WRAP_MATH_H_SUNOS_MATHERR_DECL
#define FIXINC_WRAP_MATH_H_SUNOS_MATHERR_DECL 1
struct
exception
;
#ifndef FIXINC_WRAP_MATH_H_MATH_EXCEPTION
#ifndef FIXINC_WRAP_MATH_H_MATH_EXCEPTION
#define FIXINC_WRAP_MATH_H_MATH_EXCEPTION 1
#define FIXINC_WRAP_MATH_H_MATH_EXCEPTION 1
#ifdef __cplusplus
#ifdef __cplusplus
#define exception __math_exception
#define exception __math_exception
#endif
#endif
#ifndef FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE
#define FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE 1
struct
exception
;
#if defined( BROKEN_CABS_CHECK )
#if defined( BROKEN_CABS_CHECK )
...
@@ -31,6 +31,11 @@ struct exception;
...
@@ -31,6 +31,11 @@ struct exception;
#endif
/* BROKEN_CABS_CHECK */
#endif
/* BROKEN_CABS_CHECK */
#if defined( EXCEPTION_STRUCTURE_CHECK )
extern
int
matherr
();
#endif
/* EXCEPTION_STRUCTURE_CHECK */
#if defined( HPUX11_CPP_POW_INLINE_CHECK )
#if defined( HPUX11_CPP_POW_INLINE_CHECK )
#endif
/* HPUX11_CPP_POW_INLINE_CHECK */
#endif
/* HPUX11_CPP_POW_INLINE_CHECK */
...
@@ -100,11 +105,6 @@ int foo;
...
@@ -100,11 +105,6 @@ int foo;
#endif
/* STRICT_ANSI_NOT_CTD_CHECK */
#endif
/* STRICT_ANSI_NOT_CTD_CHECK */
#if defined( SUNOS_MATHERR_DECL_CHECK )
extern
int
matherr
();
#endif
/* SUNOS_MATHERR_DECL_CHECK */
#if defined( SVR4__P_CHECK )
#if defined( SVR4__P_CHECK )
#ifndef __P
#ifndef __P
#define __P(a) a
#define __P(a) a
...
@@ -126,10 +126,10 @@ extern double atof(const char *__nptr);
...
@@ -126,10 +126,10 @@ extern double atof(const char *__nptr);
#if defined( WINDISS_MATH2_CHECK )
#if defined( WINDISS_MATH2_CHECK )
#endif
/* __GNUC__ */
#endif
/* __GNUC__ */
#endif
/* WINDISS_MATH2_CHECK */
#endif
/* WINDISS_MATH2_CHECK */
#endif
/* FIXINC_WRAP_MATH_H_EXCEPTION_STRUCTURE */
#ifdef __cplusplus
#ifdef __cplusplus
#undef exception
#undef exception
#endif
#endif
#endif
/* FIXINC_WRAP_MATH_H_MATH_EXCEPTION */
#endif
/* FIXINC_WRAP_MATH_H_MATH_EXCEPTION */
#endif
/* FIXINC_WRAP_MATH_H_SUNOS_MATHERR_DECL */
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