Closed ghost closed 5 years ago
try removing the offending -mno-ms-bitfields ?
And which gcc version do you use? output from gcc --version
Apparently it requires gcc >=4.7.0 for -mno-ms-bitfields
.
The option is mainly required for Mingw, so we might add a test in the Makefile to add the flag only on Mingw... Or we just require a gcc >= 4.7.0 (which is pretty old already... 2012)
Don't we need gcc >= 4.9 for some hardnested parts ?
Platform is Raspberry PI gcc --version gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516
Before yesterday, it compiled fine on the PI
@iceman if you modify client/Makefile with
CFLAGS = $(ENV_CFLAGS) -std=c99 -D_ISOC99_SOURCE -DPRESETS $(INCLUDES_CLIENT) -Wall -g -O3
ifneq (,$(findstring MINGW,$(platform)))
CFLAGS += -mno-ms-bitfields
endif
Does it work fine under Windows ?
almost, I pushed it.
With latest pull (05.05.2019) on Raspbian GNU/Linux 9.9 (stretch) compile fails with following error