You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Upon making mxe using make gcc
I encountered an error with the package upx.
It is because of the compiler option misleading-indentation which is implemented as of g++6
For those with g++ version <6 the error can be fixed by removing part of the lines 50-51 in /opt/mxe/src/upx.mk
old line: echo "CXXFLAGS=-Wno-error=unused-local-typedefs -Wno-error=misleading-indentation" || \ echo "CXXFLAGS=-Wno-error=misleading-indentation") \
new lines: echo "CXXFLAGS=-Wno-error=unused-local-typedefs")\
Might want to consider adding some qualifier to that compiler option
The text was updated successfully, but these errors were encountered:
ghost
changed the title
[solved] -Wno-error=misleading-indentation
[solved] -Wno-error=misleading-indentation error while compiling upx
Aug 17, 2016
Hello,
Upon making mxe using
make gcc
I encountered an error with the package upx.
It is because of the compiler option
misleading-indentation
which is implemented as of g++6For those with g++ version <6 the error can be fixed by removing part of the lines 50-51 in
/opt/mxe/src/upx.mk
old line:
echo "CXXFLAGS=-Wno-error=unused-local-typedefs -Wno-error=misleading-indentation" || \ echo "CXXFLAGS=-Wno-error=misleading-indentation") \
new lines:
echo "CXXFLAGS=-Wno-error=unused-local-typedefs")\
Might want to consider adding some qualifier to that compiler option
The text was updated successfully, but these errors were encountered: