need help with simple importC
Dakota
dakota at gmail.com
Mon Feb 26 07:44:02 UTC 2024
I am use importC from linux, get this error:
```sh
/usr/include/x86_64-linux-gnu/bits/floatn-common.h(214): Error:
illegal combination of type specifiers
/usr/include/x86_64-linux-gnu/bits/floatn-common.h(251): Error:
illegal combination of type specifiers
/usr/include/x86_64-linux-gnu/bits/floatn-common.h(268): Error:
illegal combination of type specifiers
/usr/include/x86_64-linux-gnu/bits/floatn-common.h(285): Error:
illegal combination of type specifiers
/usr/include/x86_64-linux-gnu/bits/floatn-common.h(285): Error:
illegal type combination
```
from `floatn-common.h`
```c
# if !__GNUC_PREREQ (7, 0) || (defined __cplusplus &&
!__GNUC_PREREQ (13, 0))
typedef float _Float32;
# endif
# if !__GNUC_PREREQ (7, 0)
# define __builtin_huge_valf32() (__builtin_huge_valf ())
# define __builtin_inff32() (__builtin_inff ())
# define __builtin_nanf32(x) (__builtin_nanf (x))
# define __builtin_nansf32(x) (__builtin_nansf (x))
# endif
```
any tips to work this around ?
More information about the Digitalmars-d-learn
mailing list