[FIXED] Error compiling from Source 0.13.2 -Werror=misleading-indentation: no option -Wmisleading-indentation

Errors, malfunctions, website typos.
Post Reply
dst313
F1 - Bilberry
Posts: 1
Joined: Fri Mar 24, 2017 5:04 pm

[FIXED] Error compiling from Source 0.13.2 -Werror=misleading-indentation: no option -Wmisleading-indentation

Post by dst313 » Fri Mar 24, 2017 5:07 pm

Hi I'm getting this error when compiling from source.

g++ is 4.8:

diego@ruidosa:~/Downloads/giada-0.13.2-src$ make
g++-4.8 -DPACKAGE_NAME=\"giada\" -DPACKAGE_TARNAME=\"giada\" -DPACKAGE_VERSION=\"0.13\" -DPACKAGE_STRING=\"giada\ 0.13\" -DPACKAGE_BUGREPORT=\"giadaloopmachine@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"giada\" -DVERSION=\"0.13\" -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__ -std=c++11 -Wall -Werror -Wno-error=vla -Wno-error=misleading-indentation -Wno-error=unused-local-typedefs -MT src/giada-main.o -MD -MP -MF src/.deps/giada-main.Tpo -c -o src/giada-main.o `test -f 'src/main.cpp' || echo './'`src/main.cpp
cc1plus: error: -Werror=misleading-indentation: no option -Wmisleading-indentation
make: *** [src/giada-main.o] Error 1


Thanks.

User avatar
FFT
F14 - Syrian Rue
Posts: 518
Joined: Thu Mar 08, 2012 6:51 pm

Re: Error compiling from Source 0.13.2 -Werror=misleading-indentation: no option -Wmisleading-indentation

Post by FFT » Fri Mar 24, 2017 6:22 pm

Hi dst313, I fear you need to upgrade your GCC version. Or try to manually remove that flag from the makefile.

Post Reply