Author
anonymous
over 3 years ago
Language
C++
Compiler
gcc HEAD 12.0.0 20210721 (experimental)
Options
Warnings
Boost 1.73.0
C++2b(GNU)
no pedantic
Raw compiler options
-O2
Author
anonymous
over 3 years ago
$ g++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.73.0/gcc-head/include -std=gnu++2b -O2
prog.cc:30:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
30 | void int_radix_sort(register int vector[], register unsigned int size);
| ^
prog.cc:30:66: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
30 | void int_radix_sort(register int vector[], register unsigned int size);
| ^~~~
prog.cc:54:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
54 | void int_radix_sort(register int vector[], register unsigned int size) {
| ^
prog.cc:54:66: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
54 | void int_radix_sort(register int vector[], register unsigned int size) {
| ^~~~
prog.cc: In function 'void int_radix_sort(int*, unsigned int)':
prog.cc:75:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
75 | register int *helper; /* Helper array */
| ^~~~~~
prog.cc:76:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
76 | register int *s, *k, i; /* Array iterators */
| ^
prog.cc:76:23: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
76 | register int *s, *k, i; /* Array iterators */
| ^
prog.cc:76:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
76 | register int *s, *k, i; /* Array iterators */
| ^
prog.cc:77:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
77 | register int exp = *vector; /* Bits sorted */
| ^~~
prog.cc:78:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
78 | register int max = exp; /* Maximun range in array */
| ^~~
prog.cc:79:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
79 | register unsigned char *n, *m; /* Iterator of a byte within an integer */
| ^
prog.cc:79:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
79 | register unsigned char *n, *m; /* Iterator of a byte within an integer */
| ^
prog.cc:91:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
91 | if(ABS_MAX__ <= (MAX_UINT__ >> 7) || (max - exp == 0)) {
| ^
prog.cc:102:19: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
102 | while(exp < LAST_EXP__ && (max >> (exp - 1)) > 0) {
| ^
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:188:9: note: in expansion of macro 'SORT_BYTE__'
188 | SORT_BYTE__(vector, helper, >> exp, bucket, point,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:188:9: note: in expansion of macro 'SORT_BYTE__'
188 | SORT_BYTE__(vector, helper, >> exp, bucket, point,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:188:9: note: in expansion of macro 'SORT_BYTE__'
188 | SORT_BYTE__(vector, helper, >> exp, bucket, point,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:188:9: note: in expansion of macro 'SORT_BYTE__'
188 | SORT_BYTE__(vector, helper, >> exp, bucket, point,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:188:9: note: in expansion of macro 'SORT_BYTE__'
188 | SORT_BYTE__(vector, helper, >> exp, bucket, point,
| ^~~~~~~~~~~
prog.cc:197:22: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
197 | register int j;
| ^
prog.cc:213:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
213 | register int *sub_help, *sub_vec;
| ^~~~~~~~
prog.cc:213:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
213 | register int *sub_help, *sub_vec;
| ^~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:227:17: note: in expansion of macro 'SORT_BYTE__'
227 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1, point_2msb_rider,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:227:17: note: in expansion of macro 'SORT_BYTE__'
227 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1, point_2msb_rider,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:227:17: note: in expansion of macro 'SORT_BYTE__'
227 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1, point_2msb_rider,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:227:17: note: in expansion of macro 'SORT_BYTE__'
227 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1, point_2msb_rider,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:227:17: note: in expansion of macro 'SORT_BYTE__'
227 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1, point_2msb_rider,
| ^~~~~~~~~~~
prog.cc:256:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
256 | register int *sub_help, *sub_vec;
| ^~~~~~~~
prog.cc:256:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
256 | register int *sub_help, *sub_vec;
| ^~~~~~~
prog.cc:62:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
62 | #define MISSING_BITS__ exp < LAST_EXP__ && (max >> exp) > 0
| ^
prog.cc:265:23: note: in expansion of macro 'MISSING_BITS__'
265 | while(MISSING_BITS__) { /* While there are remaining bytes */
| ^~~~~~~~~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:268:29: note: in expansion of macro 'SORT_BYTE__'
268 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:268:29: note: in expansion of macro 'SORT_BYTE__'
268 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:268:29: note: in expansion of macro 'SORT_BYTE__'
268 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:268:29: note: in expansion of macro 'SORT_BYTE__'
268 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:268:29: note: in expansion of macro 'SORT_BYTE__'
268 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:271:29: note: in expansion of macro 'SORT_BYTE__'
271 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:271:29: note: in expansion of macro 'SORT_BYTE__'
271 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:271:29: note: in expansion of macro 'SORT_BYTE__'
271 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:271:29: note: in expansion of macro 'SORT_BYTE__'
271 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:271:29: note: in expansion of macro 'SORT_BYTE__'
271 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:275:25: note: in expansion of macro 'SORT_BYTE__'
275 | SORT_BYTE__(sub_vec, sub_help, , bucket1,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:275:25: note: in expansion of macro 'SORT_BYTE__'
275 | SORT_BYTE__(sub_vec, sub_help, , bucket1,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:275:25: note: in expansion of macro 'SORT_BYTE__'
275 | SORT_BYTE__(sub_vec, sub_help, , bucket1,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:275:25: note: in expansion of macro 'SORT_BYTE__'
275 | SORT_BYTE__(sub_vec, sub_help, , bucket1,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:275:25: note: in expansion of macro 'SORT_BYTE__'
275 | SORT_BYTE__(sub_vec, sub_help, , bucket1,
| ^~~~~~~~~~~
prog.cc:297:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
297 | register int *sub_help, *sub_vec; /* Temprary arrays */
| ^~~~~~~~
prog.cc:297:42: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
297 | register int *sub_help, *sub_vec; /* Temprary arrays */
| ^~~~~~~
prog.cc:62:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
62 | #define MISSING_BITS__ exp < LAST_EXP__ && (max >> exp) > 0
| ^
prog.cc:307:23: note: in expansion of macro 'MISSING_BITS__'
307 | while(MISSING_BITS__) { /* While there are remaining bytes */
| ^~~~~~~~~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:310:29: note: in expansion of macro 'SORT_BYTE__'
310 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:310:29: note: in expansion of macro 'SORT_BYTE__'
310 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:310:29: note: in expansion of macro 'SORT_BYTE__'
310 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:310:29: note: in expansion of macro 'SORT_BYTE__'
310 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:310:29: note: in expansion of macro 'SORT_BYTE__'
310 | SORT_BYTE__(sub_help, sub_vec, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:313:29: note: in expansion of macro 'SORT_BYTE__'
313 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:313:29: note: in expansion of macro 'SORT_BYTE__'
313 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:313:29: note: in expansion of macro 'SORT_BYTE__'
313 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:313:29: note: in expansion of macro 'SORT_BYTE__'
313 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:313:29: note: in expansion of macro 'SORT_BYTE__'
313 | SORT_BYTE__(sub_vec, sub_help, >> exp, bucket1,
| ^~~~~~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:317:25: note: in expansion of macro 'SORT_BYTE__'
317 | SORT_BYTE__(sub_vec, sub_help, , buckett,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:317:25: note: in expansion of macro 'SORT_BYTE__'
317 | SORT_BYTE__(sub_vec, sub_help, , buckett,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:317:25: note: in expansion of macro 'SORT_BYTE__'
317 | SORT_BYTE__(sub_vec, sub_help, , buckett,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:317:25: note: in expansion of macro 'SORT_BYTE__'
317 | SORT_BYTE__(sub_vec, sub_help, , buckett,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:317:25: note: in expansion of macro 'SORT_BYTE__'
317 | SORT_BYTE__(sub_vec, sub_help, , buckett,
| ^~~~~~~~~~~
prog.cc:62:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
62 | #define MISSING_BITS__ exp < LAST_EXP__ && (max >> exp) > 0
| ^
prog.cc:338:15: note: in expansion of macro 'MISSING_BITS__'
338 | while(MISSING_BITS__) { /* Sort until there are no bytes left */
| ^~~~~~~~~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:341:21: note: in expansion of macro 'SORT_BYTE__'
341 | SORT_BYTE__(helper, vector, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:341:21: note: in expansion of macro 'SORT_BYTE__'
341 | SORT_BYTE__(helper, vector, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:341:21: note: in expansion of macro 'SORT_BYTE__'
341 | SORT_BYTE__(helper, vector, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:341:21: note: in expansion of macro 'SORT_BYTE__'
341 | SORT_BYTE__(helper, vector, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:341:21: note: in expansion of macro 'SORT_BYTE__'
341 | SORT_BYTE__(helper, vector, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:344:21: note: in expansion of macro 'SORT_BYTE__'
344 | SORT_BYTE__(vector, helper, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:344:21: note: in expansion of macro 'SORT_BYTE__'
344 | SORT_BYTE__(vector, helper, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:344:21: note: in expansion of macro 'SORT_BYTE__'
344 | SORT_BYTE__(vector, helper, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:344:21: note: in expansion of macro 'SORT_BYTE__'
344 | SORT_BYTE__(vector, helper, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:344:21: note: in expansion of macro 'SORT_BYTE__'
344 | SORT_BYTE__(vector, helper, >> exp, bucket,
| ^~~~~~~~~~~
prog.cc:123:50: warning: left shift of negative value [-Wshift-negative-value]
123 | for(m = (unsigned char *)(&vector[size & (~0 << 3)]); n < m;) { \
| ~~~^~~~
prog.cc:348:17: note: in expansion of macro 'SORT_BYTE__'
348 | SORT_BYTE__(vector, helper, , bucket, point,
| ^~~~~~~~~~~
prog.cc:133:50: warning: left shift of negative value [-Wshift-negative-value]
133 | for(n = (unsigned char *)(&vector[size & (~0 << 3)]) + (exp >> 3), \
| ~~~^~~~
prog.cc:348:17: note: in expansion of macro 'SORT_BYTE__'
348 | SORT_BYTE__(vector, helper, , bucket, point,
| ^~~~~~~~~~~
prog.cc:141:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
141 | if(bucket[i] == size) { \
| ^
prog.cc:348:17: note: in expansion of macro 'SORT_BYTE__'
348 | SORT_BYTE__(vector, helper, , bucket, point,
| ^~~~~~~~~~~
prog.cc:160:48: warning: left shift of negative value [-Wshift-negative-value]
160 | for(s = vector, k = &vector[size & (~0 << 3)]; s < k;) { \
| ~~~^~~~
prog.cc:348:17: note: in expansion of macro 'SORT_BYTE__'
348 | SORT_BYTE__(vector, helper, , bucket, point,
| ^~~~~~~~~~~
prog.cc:170:36: warning: left shift of negative value [-Wshift-negative-value]
170 | for(s = &vector[size & (~0 << 3)], k = &vector[size]; s < k;) { \
| ~~~^~~~
prog.cc:348:17: note: in expansion of macro 'SORT_BYTE__'
348 | SORT_BYTE__(vector, helper, , bucket, point,
| ^~~~~~~~~~~
radix sort time: 21
arr[126689] = 272445306
std::sort time: 89
arr[898063] = 1927622001
boost spreadsort: 45
arr[72921] = 156069342
Exit Code:
0