Last change
on this file since df2e00f was
0f4c513,
checked in by Peter A. Buhr <pabuhr@…>, 4 months ago
|
gcc-13 include file problem in /usr/include/aarch64-linux-gnu/bits/math-vector.h
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[a922e34] | 1 | // |
---|
| 2 | // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo |
---|
| 3 | // |
---|
| 4 | // The contents of this file are covered under the licence agreement in the |
---|
| 5 | // file "LICENCE" distributed with Cforall. |
---|
| 6 | // |
---|
[ed0e67a] | 7 | // math.h -- |
---|
[a922e34] | 8 | // |
---|
| 9 | // Author : Peter A. Buhr |
---|
| 10 | // Created On : Mon Jul 4 23:25:26 2016 |
---|
| 11 | // Last Modified By : Peter A. Buhr |
---|
[0f4c513] | 12 | // Last Modified On : Tue May 7 16:41:02 2024 |
---|
| 13 | // Update Count : 22 |
---|
[a922e34] | 14 | // |
---|
| 15 | |
---|
| 16 | extern "C" { |
---|
[211413b] | 17 | #if ! defined( exception ) // nesting ? |
---|
| 18 | #define exception ``exception // make keyword an identifier |
---|
| 19 | #define __CFA_MATH_H__ |
---|
| 20 | #endif |
---|
[0304215a] | 21 | |
---|
[0f4c513] | 22 | #if __aarch64__ && __GNUC__ == 13 // TEMPORARY: gcc-13 problem on ARM in /usr/include/aarch64-linux-gnu/bits/math-vector.h |
---|
| 23 | typedef double __Float32x4_t; |
---|
| 24 | typedef double __Float64x2_t; |
---|
| 25 | typedef float __SVFloat32_t; |
---|
| 26 | typedef float __SVFloat64_t; |
---|
| 27 | typedef int __SVBool_t; |
---|
| 28 | #endif |
---|
| 29 | |
---|
[ed0e67a] | 30 | #include_next <math.h> // has internal check for multiple expansion |
---|
[0304215a] | 31 | |
---|
[211413b] | 32 | #if defined( exception ) && defined( __CFA_MATH_H__ ) // reset only if set |
---|
| 33 | #undef exception |
---|
| 34 | #undef __CFA_MATH_H__ |
---|
| 35 | #endif |
---|
[a922e34] | 36 | } // extern "C" |
---|
| 37 | |
---|
| 38 | // Local Variables: // |
---|
| 39 | // tab-width: 4 // |
---|
| 40 | // mode: c++ // |
---|
| 41 | // compile-command: "make install" // |
---|
| 42 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.