Closed szepeviktor closed 8 years ago
On Debian/wheezy amd64:
$ make g++ -c -o aricoder.o aricoder.cpp -I. -DDEV_BUILD -O3 -Wall -pedantic -funroll-loops -ffast-math -fsched-spec-load -fomit-frame-pointer g++ -c -o bitops.o bitops.cpp -I. -DDEV_BUILD -O3 -Wall -pedantic -funroll-loops -ffast-math -fsched-spec-load -fomit-frame-pointer g++ -c -o huffmp3.o huffmp3.cpp -I. -DDEV_BUILD -O3 -Wall -pedantic -funroll-loops -ffast-math -fsched-spec-load -fomit-frame-pointer g++ -c -o packmp3.o packmp3.cpp -I. -DDEV_BUILD -O3 -Wall -pedantic -funroll-loops -ffast-math -fsched-spec-load -fomit-frame-pointer packmp3.cpp: In function ‘void set_extension(const char*, const char*)’: packmp3.cpp:6050:54: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive] make: *** [packmp3.o] Error 1
After adding -fpermissive to the Makefile it compiles.
-fpermissive
And because it is no win32:
#RES = icons.res
I could not reproduce this error. I guess this is already fixed. Closing this for now, but you may want to check yourself, too!
On Debian/wheezy amd64:
After adding
-fpermissive
to the Makefile it compiles.