source: libcfa/src/stdhdr/math.h

Last change on this file was 0f4c513, checked in by Peter A. Buhr <pabuhr@…>, 12 hours 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
Line 
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//
7// math.h --
8//
9// Author           : Peter A. Buhr
10// Created On       : Mon Jul  4 23:25:26 2016
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Tue May  7 16:41:02 2024
13// Update Count     : 22
14//
15
16extern "C" {
17#if ! defined( exception )                                                              // nesting ?
18#define exception ``exception                                                   // make keyword an identifier
19#define __CFA_MATH_H__
20#endif
21
22#if __aarch64__ && __GNUC__ == 13                                               // TEMPORARY: gcc-13 problem on ARM in /usr/include/aarch64-linux-gnu/bits/math-vector.h
23typedef double __Float32x4_t;
24typedef double __Float64x2_t;
25typedef float __SVFloat32_t;
26typedef float __SVFloat64_t;
27typedef int __SVBool_t;
28#endif
29
30#include_next <math.h>                                                                  // has internal check for multiple expansion
31
32#if defined( exception ) && defined( __CFA_MATH_H__ )   // reset only if set
33#undef exception
34#undef __CFA_MATH_H__
35#endif
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.