gcc -DUSE_STRINGPARSE -ggdb -Wsign-compare -Wall -Wextra -Wshadow -Wunused -std=c99 -g -m64 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE -D_DARWIN_C_SOURCE -O3 -Ofast -ftree-vectorize -flto -funroll-loops -march=native -fno-strict-aliasing -Wformat=2 -Wpacked -Wnested-externs -Wpointer-arith -Wredundant-decls -Wfloat-equal -Wcast-align -Wnested-externs -Wstrict-prototypes -Wa,-q -c main.c -o main.o
clang: warning: argument unused during compilation: '-Wa,-q' [-Wunused-command-line-argument]
gcc -DUSE_STRINGPARSE -ggdb -Wsign-compare -Wall -Wextra -Wshadow -Wunused -std=c99 -g -m64 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE -D_DARWIN_C_SOURCE -O3 -Ofast -ftree-vectorize -flto -funroll-loops -march=native -fno-strict-aliasing -Wformat=2 -Wpacked -Wnested-externs -Wpointer-arith -Wredundant-decls -Wfloat-equal -Wcast-align -Wnested-externs -Wstrict-prototypes -Wa,-q -c convert_trees_to_lhalo.c -o convert_trees_to_lhalo.o
clang: warning: argument unused during compilation: '-Wa,-q' [-Wunused-command-line-argument]
convert_trees_to_lhalo.c:899:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if((info[i].upid == fof_id) ) {
~~~~~~~~~~~~~^~~~~~~~~
convert_trees_to_lhalo.c:899:30: note: remove extraneous parentheses around the comparison to silence this warning
if((info[i].upid == fof_id) ) {
~ ^ ~
convert_trees_to_lhalo.c:899:30: note: use '=' to turn this equality comparison into an assignment
if((info[i].upid == fof_id) ) {
^~
=
1 warning generated.
gcc -DUSE_STRINGPARSE -ggdb -Wsign-compare -Wall -Wextra -Wshadow -Wunused -std=c99 -g -m64 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE -D_DARWIN_C_SOURCE -O3 -Ofast -ftree-vectorize -flto -funroll-loops -march=native -fno-strict-aliasing -Wformat=2 -Wpacked -Wnested-externs -Wpointer-arith -Wredundant-decls -Wfloat-equal -Wcast-align -Wnested-externs -Wstrict-prototypes -Wa,-q -c utils.c -o utils.o
clang: warning: argument unused during compilation: '-Wa,-q' [-Wunused-command-line-argument]
utils.c:159:62: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int64_t' (aka 'long long')
[-Wformat]
fprintf(stderr,"Could not write %zu bytes\n",bytes_read);
~~~ ^~~~~~~~~~
%lld
1 warning generated.
gcc -DUSE_STRINGPARSE -ggdb -Wsign-compare -Wall -Wextra -Wshadow -Wunused -std=c99 -g -m64 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE -D_DARWIN_C_SOURCE -O3 -Ofast -ftree-vectorize -flto -funroll-loops -march=native -fno-strict-aliasing -Wformat=2 -Wpacked -Wnested-externs -Wpointer-arith -Wredundant-decls -Wfloat-equal -Wcast-align -Wnested-externs -Wstrict-prototypes -Wa,-q -c progressbar.c -o progressbar.o
clang: warning: argument unused during compilation: '-Wa,-q' [-Wunused-command-line-argument]
gcc -DUSE_STRINGPARSE -ggdb -Wsign-compare -Wall -Wextra -Wshadow -Wunused -std=c99 -g -m64 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE -D_DARWIN_C_SOURCE -O3 -Ofast -ftree-vectorize -flto -funroll-loops -march=native -fno-strict-aliasing -Wformat=2 -Wpacked -Wnested-externs -Wpointer-arith -Wredundant-decls -Wfloat-equal -Wcast-align -Wnested-externs -Wstrict-prototypes -Wa,-q -c stringparse.c -o stringparse.o
clang: warning: argument unused during compilation: '-Wa,-q' [-Wunused-command-line-argument]
In file included from stringparse.c:9:
./strtonum.c:119:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
if (savedval==0) return copysign(0, sign);
~~~~~~~~^ ~
In file included from stringparse.c:11:
./strtonum.c:119:15: warning: comparing floating point with == or != is unsafe [-Wfloat-equal]
if (savedval==0) return copysign(0, sign);
~~~~~~~~^ ~
2 warnings generated.
gcc -DUSE_STRINGPARSE -ggdb -Wsign-compare -Wall -Wextra -Wshadow -Wunused -std=c99 -g -m64 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE -D_DARWIN_C_SOURCE -O3 -Ofast -ftree-vectorize -flto -funroll-loops -march=native -fno-strict-aliasing -Wformat=2 -Wpacked -Wnested-externs -Wpointer-arith -Wredundant-decls -Wfloat-equal -Wcast-align -Wnested-externs -Wstrict-prototypes -Wa,-q -c check_syscalls.c -o check_syscalls.o
clang: warning: argument unused during compilation: '-Wa,-q' [-Wunused-command-line-argument]
gcc main.o convert_trees_to_lhalo.o utils.o progressbar.o stringparse.o check_syscalls.o -flto -lm -ggdb -Wsign-compare -Wall -Wextra -Wshadow -Wunused -std=c99 -g -m64 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE -D_DARWIN_C_SOURCE -O3 -Ofast -ftree-vectorize -flto -funroll-loops -march=native -fno-strict-aliasing -Wformat=2 -Wpacked -Wnested-externs -Wpointer-arith -Wredundant-decls -Wfloat-equal -Wcast-align -Wnested-externs -Wstrict-prototypes -Wa,-q -o convert_trees_to_lhalo
clang: warning: argument unused during compilation: '-Wa,-q' [-Wunused-command-line-argument]
gcc -DUSE_STRINGPARSE -ggdb -Wsign-compare -Wall -Wextra -Wshadow -Wunused -std=c99 -g -m64 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE -D_DARWIN_C_SOURCE -O3 -Ofast -ftree-vectorize -flto -funroll-loops -march=native -fno-strict-aliasing -Wformat=2 -Wpacked -Wnested-externs -Wpointer-arith -Wredundant-decls -Wfloat-equal -Wcast-align -Wnested-externs -Wstrict-prototypes -Wa,-q -c tests/compare_two_lhalotree.c -o tests/compare_two_lhalotree.o
clang: warning: argument unused during compilation: '-Wa,-q' [-Wunused-command-line-argument]
gcc tests/compare_two_lhalotree.o utils.o -flto -lm -ggdb -Wsign-compare -Wall -Wextra -Wshadow -Wunused -std=c99 -g -m64 -fPIC -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_SVID_SOURCE -D_DARWIN_C_SOURCE -O3 -Ofast -ftree-vectorize -flto -funroll-loops -march=native -fno-strict-aliasing -Wformat=2 -Wpacked -Wnested-externs -Wpointer-arith -Wredundant-decls -Wfloat-equal -Wcast-align -Wnested-externs -Wstrict-prototypes -Wa,-q -o compare_two_lhalotree
clang: warning: argument unused during compilation: '-Wa,-q' [-Wunused-command-line-argument]