Closed d3vv closed 4 years ago
P.S. just need -lz into command line
but we have warning below:
g++ paq8pxd.cpp -DWINDOWS -DMT -msse2 -O3 -s -static -o paq8pxd.exe -lz paq8pxd.cpp:554:0: warning: "MT" redefined
And my suggestion is to view those warnings via " g++ paq8pxd.cpp -DWINDOWS -DMT -O3 -msse -msse3 -s -static -flto -lz -Wall -Wcast-qual -pedantic -Wextra -Wshadow -o paq8pxd"
if label about ton of warnings, could You resolve most obvious warnings with flags below and I will try to help with others?
-Wall -Wcast-qual -Wshadow -Wextra -pedantic
-Weffc++ -Wnon-virtual-dtor -Wold-style-cast -Wsign-conversion -Wconversion
$ g++ paq8pxd.cpp -DWINDOWS -DMT -msse2 -O3 -s -static -o paq8pxd.exe paq8pxd.cpp:554:0: warning: "MT" redefined
define MT //uncomment for multithreading, compression only