computer@computer-Mac-mini paq8pxd-master % g++ paq8pxd.cpp -O2 -DUNIX -s -lz -o paq8pxd
paq8pxd.cpp:694:50: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
double(clock()-start_time)/CLOCKS_PER_SEC, ((maxmem)/1024)/1024,(maxmem));
^~~~~~~~
paq8pxd.cpp:694:71: warning: format specifies type 'unsigned long' but the argument has type 'U64' (aka 'unsigned long long') [-Wformat]
double(clock()-start_time)/CLOCKS_PER_SEC, ((maxmem)/1024)/1024,(maxmem));
^~~~
paq8pxd.cpp:2076:7: warning: expression result unused [-Wunused-value]
((U32 ) &tx[nx],a);
^ ~~~
paq8pxd.cpp:2076:23: warning: expression result unused [-Wunused-value]
((U32 ) &tx[nx],a);
^
paq8pxd.cpp:2081:7: warning: expression result unused [-Wunused-value]
((U64 ) &tx[nx],a);
^ ~~~
paq8pxd.cpp:2081:23: warning: expression result unused [-Wunused-value]
((U64 ) &tx[nx],a);
^
In file included from paq8pxd.cpp:2786:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/immintrin.h:40:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/wmmintrin.h:15:
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/wmmintrin_aes.h:36:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/__wmmintrin_aes.h:56:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/wmmintrin_aes.h:76:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/wmmintrin_aes.h:96:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/__wmmintrin_aes.h:113:1: error: function definition is not allowed here
{
^
In file included from paq8pxd.cpp:2786:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/immintrin.h:44:
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/clflushoptintrin.h:21:34: error: function definition is not allowed here
_mm_clflushopt(void const * m) {
^
In file included from paq8pxd.cpp:2786:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/immintrin.h:48:
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/clwbintrin.h:32:27: error: function definition is not allowed here
_mm_clwb(void const *__p) {
^
In file included from paq8pxd.cpp:2786:
In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/immintrin.h:52:
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:61:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:79:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:97:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:115:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:134:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:153:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:171:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:189:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:208:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:227:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:246:1: error: function definition is not allowed here
{
^
/Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:265:1: error: function definition is not allowed here
{
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
computer@computer-Mac-mini paq8pxd-master % g++ paq8pxd.cpp -O2 -DUNIX -s -lz -o paq8pxd paq8pxd.cpp:694:50: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat] double(clock()-start_time)/CLOCKS_PER_SEC, ((maxmem)/1024)/1024,(maxmem)); ^
~~~~~~~ paq8pxd.cpp:694:71: warning: format specifies type 'unsigned long' but the argument has type 'U64' (aka 'unsigned long long') [-Wformat] double(clock()-start_time)/CLOCKS_PER_SEC, ((maxmem)/1024)/1024,(maxmem)); ^~~~ paq8pxd.cpp:2076:7: warning: expression result unused [-Wunused-value] ((U32 ) &tx[nx],a); ^~~~ paq8pxd.cpp:2076:23: warning: expression result unused [-Wunused-value] ((U32 ) &tx[nx],a); ^ paq8pxd.cpp:2081:7: warning: expression result unused [-Wunused-value] ((U64 ) &tx[nx],a); ^~~~ paq8pxd.cpp:2081:23: warning: expression result unused [-Wunused-value] ((U64 ) &tx[nx],a); ^ In file included from paq8pxd.cpp:2786: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/immintrin.h:40: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/wmmintrin.h:15: /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/wmmintrin_aes.h:36:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/__wmmintrin_aes.h:56:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/wmmintrin_aes.h:76:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/wmmintrin_aes.h:96:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/__wmmintrin_aes.h:113:1: error: function definition is not allowed here { ^ In file included from paq8pxd.cpp:2786: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/immintrin.h:44: /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/clflushoptintrin.h:21:34: error: function definition is not allowed here _mm_clflushopt(void const * m) { ^ In file included from paq8pxd.cpp:2786: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/immintrin.h:48: /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/clwbintrin.h:32:27: error: function definition is not allowed here _mm_clwb(void const *__p) { ^ In file included from paq8pxd.cpp:2786: In file included from /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/immintrin.h:52: /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:61:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:79:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:97:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:115:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:134:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:153:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:171:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:189:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:208:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:227:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:246:1: error: function definition is not allowed here { ^ /Library/Developer/CommandLineTools/usr/lib/clang/11.0.3/include/avxintrin.h:265:1: error: function definition is not allowed here { ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated.