error: initializer element is not constant (gcc 7.5.0 on SLES 15 SP5)
Open
- Dominant language
- C
- Stars
- 329
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Trying to compile neper on SLES 15 SP5, I get the following error, introduced by 8b2f9e1ee2814926daa37b470255ebaeba60c897
```
histo.c:31:36: error: initializer element is not constant
static const double TICKS_TO_SEC = 1.0 / TIME_RESOLUTION;
^~~
make: *** [: histo.o] Error 1
```
gcc is version 7.5.0
`make CC=clang` works, so I have a workaround.
Contributor guide
Assessment
This issue has not been assessed yet.