Skip to content

Instantly share code, notes, and snippets.

@kybr
Created September 12, 2017 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kybr/f53457c43f0c4e542b59d7615f84470b to your computer and use it in GitHub Desktop.
Save kybr/f53457c43f0c4e542b59d7615f84470b to your computer and use it in GitHub Desktop.
Script started on Tue Sep 12 11:33:03 2017
]1337;RemoteHost=ky@ix]1337;CurrentDir=/Users/ky/Projects/cuttlebone/openpgm/openpgm/pgm]1337;ShellIntegrationVersion=5;shell=fish]1337;RemoteHost=ky@ix]1337;CurrentDir=/Users/ky/Projects/cuttlebone/openpgm/openpgm/pgm]0;fish /Users/ky/Projects/cuttlebone/openpgm/openpgm/pgm(B[?2004h]0;fish /Users/ky/Projects/cuttlebone/openpgm/openpgm/pgm(B⏎(B ⏎ ]133;D;0]133;Aix $ ]133;B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  s~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  s(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  cript(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  cript(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  o(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ns -c (B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ns -c (B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  s -c (B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  scons -c (B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  
(B[?2004l]133;C;]0;scons /Users/ky/Projects/cuttlebone/openpgm/openpgm/pgm(B scons: Reading SConscript files ...
Disabling Check unit tests.
scons: warning: BuildDir() and the build_dir keyword have been deprecated;
use VariantDir() and the variant_dir keyword instead.
File "/Users/ky/Projects/cuttlebone/openpgm/openpgm/pgm/SConstruct", line 237, in <module>
Checking for C function clock_gettime()... (cached) yes
Checking for C function ftime()... (cached) yes
Checking for C function gettimeofday()... (cached) yes
Checking for pthread_spinlock...(cached) no
Checking for C function getprotobyname_r()... (cached) no
Checking whether getprotobyname_r returns struct protoent *...(cached) yes
Checking for C function getnetent()... (cached) yes
Checking for C99 variadic macros...(cached) yes
Checking for GNU-style variadic macros...(cached) yes
Checking for C header file alloca.h... (cached) yes
Checking for C function eventfd()... (cached) no
Checking for file /proc/cpuinfo...(cached) no
Checking for C function backtrace()... (cached) yes
Checking for C function pselect()... (cached) yes
Checking for file /dev/rtc...(cached) no
Checking for RDTSC instruction...(cached) no
Checking for file /dev/hpet...(cached) no
Checking for C function poll()... (cached) yes
Checking for C function epoll_ctl()... (cached) no
Checking for C function getifaddrs()... (cached) yes
Checking for struct ifaddrs.ifa_netmask...(cached) yes
Checking for struct _WSAMSG.name...(cached) no
Checking for struct group_req.gr_interface...(cached) yes
Checking for struct ip_mreqn.imr_ifindex...(cached) yes
Checking for struct ip_msfilter.imsf_multiaddr...(cached) no
Checking for printf thousands' grouping...(cached) yes
Checking for C function vasprintf()... (cached) yes
Checking for hidden visibility attribute...(cached) yes
Checking for bind on INADDR_ANY...(cached) yes
Checking for raw IP sockets ip_{len,off} host byte ordering...(cached) yes
Checking for raw IP sockets ip_{len,off} host byte ordering...(cached) yes
Checking for unaligned pointers...(cached) yes
Checking for intrinsic atomic ops...(cached) yes
Checking for C function getopt()... (cached) yes
Checking for C function strerror_r()... (cached) yes
Checking for whether strerror_r returns char *...(cached) no
Checking for C library pthread... (cached) yes
Checking for sqrt() in C library m... (cached) yes
Checking for clock_gettime() in C library rt... (cached) no
Checking for socket() in C library socket... (cached) no
Checking for gethostname() in C library nsl... (cached) no
Checking for inet_aton() in C library resolv... (cached) yes
Checking for kstat_open() in C library kstat... (cached) no
Mkdir("include")
include/config.h
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: ref/debug-Darwin-x86_64
gcc -o ref/debug-Darwin-x86_64/checksum.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude checksum.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from checksum.c:40:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
checksum.c:1086:16: warning: expression result unused [-Wunused-value]
pgm_prefetch (srcbuf);
 ^~~~~~
include/impl/processor.h:46:30: note: expanded from macro 'pgm_prefetch'
# define pgm_prefetch(addr) (addr)
 ^~~~
checksum.c:1087:17: warning: expression result unused [-Wunused-value]
pgm_prefetchw (dstbuf);
 ^~~~~~
include/impl/processor.h:47:31: note: expanded from macro 'pgm_prefetchw'
# define pgm_prefetchw(addr) (addr)
 ^~~~
checksum.c:1384:16: warning: expression result unused [-Wunused-value]
pgm_prefetch (srcbuf);
 ^~~~~~
include/impl/processor.h:46:30: note: expanded from macro 'pgm_prefetch'
# define pgm_prefetch(addr) (addr)
 ^~~~
checksum.c:1385:17: warning: expression result unused [-Wunused-value]
pgm_prefetchw (dstbuf);
 ^~~~~~
include/impl/processor.h:47:31: note: expanded from macro 'pgm_prefetchw'
# define pgm_prefetchw(addr) (addr)
 ^~~~
checksum.c:1482:14: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_avx2;
 ^ ~~~~~~~~~~~~~~~
checksum.c:1498:14: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_sse2;
 ^ ~~~~~~~~~~~~~~~
checksum.c:1506:14: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_sse2;
 ^ ~~~~~~~~~~~~~~~
checksum.c:1514:14: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_mmx;
 ^ ~~~~~~~~~~~~~~
checksum.c:1526:13: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_16bit;
 ^ ~~~~~~~~~~~~~~~~
checksum.c:1476:1: warning: no previous prototype for function 'pgm_checksum_init' [-Wmissing-prototypes]
pgm_checksum_init (const pgm_cpu_t* cpu)
^
12 warnings generated.
gcc -o ref/debug-Darwin-x86_64/checksum.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude checksum.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from checksum.c:40:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
checksum.c:1086:16: warning: expression result unused [-Wunused-value]
pgm_prefetch (srcbuf);
 ^~~~~~
include/impl/processor.h:46:30: note: expanded from macro 'pgm_prefetch'
# define pgm_prefetch(addr) (addr)
 ^~~~
checksum.c:1087:17: warning: expression result unused [-Wunused-value]
pgm_prefetchw (dstbuf);
 ^~~~~~
include/impl/processor.h:47:31: note: expanded from macro 'pgm_prefetchw'
# define pgm_prefetchw(addr) (addr)
 ^~~~
checksum.c:1384:16: warning: expression result unused [-Wunused-value]
pgm_prefetch (srcbuf);
 ^~~~~~
include/impl/processor.h:46:30: note: expanded from macro 'pgm_prefetch'
# define pgm_prefetch(addr) (addr)
 ^~~~
checksum.c:1385:17: warning: expression result unused [-Wunused-value]
pgm_prefetchw (dstbuf);
 ^~~~~~
include/impl/processor.h:47:31: note: expanded from macro 'pgm_prefetchw'
# define pgm_prefetchw(addr) (addr)
 ^~~~
checksum.c:1482:14: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_avx2;
 ^ ~~~~~~~~~~~~~~~
checksum.c:1498:14: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_sse2;
 ^ ~~~~~~~~~~~~~~~
checksum.c:1506:14: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_sse2;
 ^ ~~~~~~~~~~~~~~~
checksum.c:1514:14: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_mmx;
 ^ ~~~~~~~~~~~~~~
checksum.c:1526:13: warning: incompatible pointer types assigning to 'uint32_t (*)(const void *, void *, uint16_t, uint32_t)' (aka
'unsigned int (*)(const void *, void *, unsigned short, unsigned int)') from 'uint16_t (const void *, void *, uint16_t,
uint32_t)' (aka 'unsigned short (const void *, void *, unsigned short, unsigned int)') [-Wincompatible-pointer-types]
do_csumcpy = do_csumcpy_16bit;
 ^ ~~~~~~~~~~~~~~~~
checksum.c:1476:1: warning: no previous prototype for function 'pgm_checksum_init' [-Wmissing-prototypes]
pgm_checksum_init (const pgm_cpu_t* cpu)
^
12 warnings generated.
gcc -o ref/debug-Darwin-x86_64/cpu.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude cpu.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from cpu.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/cpu.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude cpu.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from cpu.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/engine.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude engine.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from engine.c:42:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
engine.c:208:2: warning: implicit declaration of function 'pgm_checksum_init' is invalid in C99 [-Wimplicit-function-declaration]
pgm_checksum_init (&pgm_cpu);
 ^
engine.c:208:2: warning: this function declaration is not a prototype [-Wstrict-prototypes]
4 warnings generated.
gcc -o ref/debug-Darwin-x86_64/engine.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude engine.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from engine.c:42:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
engine.c:208:2: warning: implicit declaration of function 'pgm_checksum_init' is invalid in C99 [-Wimplicit-function-declaration]
pgm_checksum_init (&pgm_cpu);
 ^
engine.c:208:2: warning: this function declaration is not a prototype [-Wstrict-prototypes]
4 warnings generated.
gcc -o ref/debug-Darwin-x86_64/error.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude error.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from error.c:33:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/error.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude error.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from error.c:33:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/examples/async.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude examples/async.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from examples/async.c:35:
In file included from include/pgm/in.h:30:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/examples/daytime.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude examples/daytime.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from examples/daytime.c:43:
In file included from include/pgm/in.h:30:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
examples/daytime.c:322:8: warning: declaration shadows a variable in the global scope [-Wshadow]
char network[1024];
 ^
examples/daytime.c:52:20: note: previous declaration is here
static const char* network = "";
 ^
3 warnings generated.
gcc -o ref/debug-Darwin-x86_64/examples/getopt.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude examples/getopt.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
examples/getopt.c:45:9: warning: '__P' macro redefined [-Wmacro-redefined]
#define __P(x) x
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:112:9: note: 
previous definition is here
#define __P(protos) protos /* full-blown ANSI C */
 ^
examples/getopt.c:93:15: warning: initializing 'char *' with an expression of type 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
static char *place = EMSG; /* option letter processing */
 ^ ~~~~
examples/getopt.c:103:10: warning: assigning to 'char *' from 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
place = EMSG;
 ^ ~~~~
examples/getopt.c:109:10: warning: assigning to 'char *' from 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
place = EMSG;
 ^ ~~~~
examples/getopt.c:137:10: warning: assigning to 'char *' from 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
place = EMSG;
 ^ ~~~~
examples/getopt.c:148:9: warning: assigning to 'char *' from 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
place = EMSG;
 ^ ~~~~
examples/getopt.c:87:1: warning: no previous prototype for function 'getopt' [-Wmissing-prototypes]
getopt(nargc, nargv, ostr)
^
examples/getopt.c:87:7: warning: this old-style function definition is not preceded by a prototype [-Wstrict-prototypes]
getopt(nargc, nargv, ostr)
 ^
9 warnings generated.
gcc -o ref/debug-Darwin-x86_64/examples/getopt_long.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude examples/getopt_long.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
examples/getopt_long.c:46:9: warning: '__P' macro redefined [-Wmacro-redefined]
#define __P(x) x
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/sys/cdefs.h:112:9: note: 
previous definition is here
#define __P(protos) protos /* full-blown ANSI C */
 ^
examples/getopt_long.c:82:15: warning: initializing 'char *' with an expression of type 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
static char *place = EMSG; /* option letter processing */
 ^ ~~~~
examples/getopt_long.c:91:10: warning: assigning to 'char *' from 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
place = EMSG;
 ^ ~~~~
examples/getopt_long.c:96:10: warning: assigning to 'char *' from 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
place = EMSG;
 ^ ~~~~
examples/getopt_long.c:123:10: warning: assigning to 'char *' from 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
place = EMSG;
 ^ ~~~~
examples/getopt_long.c:131:9: warning: assigning to 'char *' from 'const char [1]' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
place = EMSG;
 ^ ~~~~
7 warnings generated.
gcc -o ref/debug-Darwin-x86_64/thread.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude thread.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from thread.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/mem.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude mem.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from mem.c:33:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/string.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude string.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from string.c:34:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/list.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude list.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from list.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/slist.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude slist.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from slist.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/queue.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude queue.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from queue.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/hashtable.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude hashtable.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from hashtable.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/messages.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude messages.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from messages.c:32:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/math.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude math.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from math.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/packet_parse.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude packet_parse.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from packet_parse.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
packet_parse.c:126:29: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
struct sockaddr_in* sin = (struct sockaddr_in*)dst;
 ^~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
gcc -o ref/debug-Darwin-x86_64/packet_test.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude packet_test.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from packet_test.c:34:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/sockaddr.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude sockaddr.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from sockaddr.c:30:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
sockaddr.c:975:17: warning: unused parameter 's' [-Wunused-parameter]
const SOCKET s,
 ^
sockaddr.c:976:21: warning: unused parameter 'sa_family' [-Wunused-parameter]
const sa_family_t sa_family,
 ^
sockaddr.c:977:29: warning: unused parameter 'gf_list' [-Wunused-parameter]
const struct group_filter* gf_list
 ^
sockaddr.c:1372:4: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in*)sa)->sin_addr.s_addr = ((const struct in_addr*)((const char*)nla + sizeof(uint32_t))...
 ^~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1372:49: warning: cast from 'const char *' to 'const struct in_addr *' increases required alignment from 1 to 4
[-Wcast-align]
...((struct sockaddr_in*)sa)->sin_addr.s_addr = ((const struct in_addr*)((const char*)nla + sizeof(uint32_t)))->s_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1377:13: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
memcpy (&((struct sockaddr_in6*)sa)->sin6_addr, (const struct in6_addr*)((const char*)nla + sizeof(uint32_...
 ^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:27: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~
sockaddr.c:1377:51: warning: cast from 'const char *' to 'const struct in6_addr *' increases required alignment from 1 to 4
[-Wcast-align]
...memcpy (&((struct sockaddr_in6*)sa)->sin6_addr, (const struct in6_addr*)((const char*)nla + sizeof(uint32_t)), sizeof(stru...
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:33: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~~~~~~~~
sockaddr.c:1377:13: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
memcpy (&((struct sockaddr_in6*)sa)->sin6_addr, (const struct in6_addr*)((const char*)nla + sizeof(uint32_...
 ^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:62: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_common.h:38:55: note: 
expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
 ^~~~~~
sockaddr.c:1398:3: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2
[-Wcast-align]
*(uint16_t*)((char*)nla + sizeof(uint16_t)) = 0; /* reserved 16bit space */
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1402:4: warning: cast from 'char *' to 'struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align]
((struct in_addr*)((char*)nla + sizeof(uint32_t)))->s_addr = ((const struct sockaddr_in*)sa)->sin_addr.s_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1402:65: warning: cast from 'const struct sockaddr *' to 'const struct sockaddr_in *' increases required alignment from
1 to 4 [-Wcast-align]
((struct in_addr*)((char*)nla + sizeof(uint32_t)))->s_addr = ((const struct sockaddr_in*)sa)->sin_addr.s_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1407:11: warning: cast from 'char *' to 'struct in6_addr *' increases required alignment from 1 to 4 [-Wcast-align]
memcpy ((struct in6_addr*)((char*)nla + sizeof(uint32_t)), &((const struct sockaddr_in6*)sa)->sin6_addr, s...
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:27: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~
sockaddr.c:1407:64: warning: cast from 'const struct sockaddr *' to 'const struct sockaddr_in6 *' increases required alignment
from 1 to 4 [-Wcast-align]
memcpy ((struct in6_addr*)((char*)nla + sizeof(uint32_t)), &((const struct sockaddr_in6*)sa)->sin6_addr, s...
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:33: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~~~~~~~~
sockaddr.c:1407:11: warning: cast from 'char *' to 'struct in6_addr *' increases required alignment from 1 to 4 [-Wcast-align]
memcpy ((struct in6_addr*)((char*)nla + sizeof(uint32_t)), &((const struct sockaddr_in6*)sa)->sin6_addr, s...
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:62: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_common.h:38:55: note: 
expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
 ^~~~~~
16 warnings generated.
gcc -o ref/debug-Darwin-x86_64/time.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude time.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from time.c:35:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/if.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude if.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from if.c:42:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
if.c:165:48: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
if (0 != pgm_sockaddr_ntop ((struct sockaddr*)&gsr->gsr_group, group, sizeof (group)))
 ^
if.c:167:48: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
if (0 != pgm_sockaddr_ntop ((struct sockaddr*)&gsr->gsr_source, source, sizeof (source)))
 ^
if.c:169:48: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
if (0 != pgm_sockaddr_ntop ((struct sockaddr*)&gsr->gsr_addr, addr, sizeof (addr)))
 ^
if.c:424:42: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration]
pgm_debug ("IPv4 network address: %s", inet_ntoa (t));
 ^
if.c:424:42: warning: this function declaration is not a prototype [-Wstrict-prototypes]
if.c:424:42: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
pgm_debug ("IPv4 network address: %s", inet_ntoa (t));
 ~~ ^~~~~~~~~~~~~
 %d
include/impl/messages.h:55:37: note: expanded from macro 'pgm_debug'
pgm__log (PGM_LOG_LEVEL_DEBUG, __VA_ARGS__); \
 ^~~~~~~~~~~
if.c:481:33: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:494:30: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:649:65: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...if ((AF_INET == res->ai_family && IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr))) ||
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:650:65: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
...(AF_INET6 == res->ai_family && IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:661:66: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...if ((AF_INET == res->ai_family && IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr))) ||
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:662:66: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
...(AF_INET6 == res->ai_family && IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:675:66: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...if ((AF_INET == res->ai_family && IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr))) ||
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:676:66: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
...(AF_INET6 == res->ai_family && IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:698:33: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:711:30: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:840:59: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...const struct in_addr ifaddr = { .s_addr = pgm_ntohl (((struct sockaddr_in*)ifa->ifa_addr)->sin_addr.s_addr) };
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:841:59: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...const struct in_addr netmask = { .s_addr = pgm_ntohl (((struct sockaddr_in*)ifa->ifa_netmask)->sin_addr.s_addr) };
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:886:5: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)ifa->ifa_addr)->sin6_scope_id == sa6_addr.sin6_scope_id) )
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:888:36: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
const struct in6_addr ifaddr = ((struct sockaddr_in6*)ifa->ifa_addr)->sin6_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:889:37: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
const struct in6_addr netmask = ((struct sockaddr_in6*)ifa->ifa_netmask)->sin6_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1029:44: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
if (pgm_inet_pton (AF_INET6, literal, &((struct sockaddr_in6*)addr)->sin6_addr) &&
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1030:32: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)addr)->sin6_addr))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:1033:6: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_port = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1034:6: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_flowinfo = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1035:6: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_scope_id = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1051:39: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
pgm_inet_pton (AF_INET, group, &((struct sockaddr_in*)addr)->sin_addr) &&
 ^~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1052:31: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)addr)->sin_addr.s_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:1066:40: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
pgm_inet_pton (AF_INET6, group, &((struct sockaddr_in6*)addr)->sin6_addr) &&
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1067:30: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)addr)->sin6_addr))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:1070:4: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_port = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1071:4: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_flowinfo = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1072:4: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_scope_id = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1104:6: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in*)addr)->sin_addr.s_addr = pgm_htonl (sa.sin_addr.s_addr);
 ^~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1208:55: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
if ((AF_INET6 != family && IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)res->ai_addr)->sin_addr.s_addr))) ||
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:1209:54: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
(AF_INET != family && IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:1449:77: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
memcpy (&gsr->gsr_addr, &ir->ir_addr, pgm_sockaddr_len ((struct sockaddr*)&ir->ir_addr));
 ^
if.c:1549:10: warning: address of array 'ir->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
ir->ir_name ? "\"" : "", ir->ir_name ? ir->ir_name : "(null)", ir->ir_name ? "\"" : "");
 ~~~~^~~~~~~ ~
if.c:1549:35: warning: address of array 'ir->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
ir->ir_name ? "\"" : "", ir->ir_name ? ir->ir_name : "(null)", ir->ir_name ? "\"" : "");
 ~~~~^~~~~~~ ~
if.c:1549:73: warning: address of array 'ir->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
ir->ir_name ? "\"" : "", ir->ir_name ? ir->ir_name : "(null)", ir->ir_name ? "\"" : "");
 ~~~~^~~~~~~ ~
if.c:1557:33: warning: incompatible pointer types passing 'struct sockaddr_storage *' to parameter of type
'const struct sockaddr *' [-Wincompatible-pointer-types]
if (0 != pgm_sockaddr_ntop (&resolved_interface.ir_addr, s, sizeof(s)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/impl/sockaddr.h:135:73: note: passing argument to parameter 'sa' here
PGM_GNUC_INTERNAL int pgm_sockaddr_ntop (const struct sockaddr*restrict sa, char*restrict dst, size_t ulen);
 ^
if.c:1558:11: warning: equality comparison result unused [-Wunused-comparison]
s[0] == 0;
 ~~~~~^~~~
if.c:1558:11: note: use '=' to turn this equality comparison into an assignment
s[0] == 0;
 ^~
 =
if.c:1559:60: warning: address of array 'ir->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
pgm_debug ("Interface \"%s\" detected as \"%s\".", ir->ir_name ? ir->ir_name : "", s);
 ~~~~^~~~~~~ ~
include/impl/messages.h:55:37: note: expanded from macro 'pgm_debug'
pgm__log (PGM_LOG_LEVEL_DEBUG, __VA_ARGS__); \
 ^~~~~~~~~~~
if.c:1657:45: warning: incompatible pointer types passing 'struct sockaddr_storage *' to parameter of type 'struct sockaddr *'
[-Wincompatible-pointer-types]
if (!set_default_multicast_group (family, &gsr->gsr_group)) {
 ^~~~~~~~~~~~~~~
if.c:1331:19: note: passing argument to parameter 'sa' here
struct sockaddr* sa
 ^
if.c:1775:96: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
memcpy (&send_gsr->gsr_addr, &primary_interface->ir_addr, pgm_sockaddr_len ((struct sockaddr*)&primary_interface->...
 ^
if.c:1797:26: warning: address of array 'primary_interface->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
primary_interface->ir_name ? "\"":"", primary_interface->ir_name ? primary...
 ~~~~~~~~~~~~~~~~~~~^~~~~~~ ~
if.c:1797:64: warning: address of array 'primary_interface->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
primary_interface->ir_name ? "\"":"", primary_interface->ir_name ? primary...
 ~~~~~~~~~~~~~~~~~~~^~~~~~~ ~
if.c:1797:132: warning: address of array 'primary_interface->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
...? "\"":"", primary_interface->ir_name ? primary_interface->ir_name : "(null)", primary_interface->ir_name ? "\"":"");
 ~~~~~~~~~~~~~~~~~~~^~~~~~~ ~
50 warnings generated.
gcc -o ref/debug-Darwin-x86_64/inet_lnaof.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude inet_lnaof.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from inet_lnaof.c:30:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/getifaddrs.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude getifaddrs.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from getifaddrs.c:53:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/get_nprocs.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude get_nprocs.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from get_nprocs.c:42:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/getnetbyname.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude getnetbyname.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from getnetbyname.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/getnodeaddr.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude getnodeaddr.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from getnodeaddr.c:38:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
getnodeaddr.c:118:25: warning: cast from 'char *' to 'struct addrinfo *' increases required alignment from 1 to 8 [-Wcast-align]
struct addrinfo* t = (struct addrinfo*)(p);
 ^~~~~~~~~~~~~~~~~~~~~
getnodeaddr.c:125:15: warning: incompatible pointer types assigning to 'struct addrinfo *' from 'char *'
[-Wincompatible-pointer-types]
t->ai_next = (NULL == ai->ai_next) ? NULL : p;
 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getnodeaddr.c:110:20: warning: unused variable 'prev' [-Wunused-variable]
struct addrinfo* prev = NULL;
 ^
getnodeaddr.c:210:8: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
if (((struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr == ((struct in_addr*)(he->h_addr_list[0]))->s_addr)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getnodeaddr.c:210:66: warning: cast from 'char *' to 'struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align]
if (((struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr == ((struct in_addr*)(he->h_addr_list[0]))->s_addr)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.
gcc -o ref/debug-Darwin-x86_64/getprotobyname.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude getprotobyname.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from getprotobyname.c:27:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/indextoaddr.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude indextoaddr.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from indextoaddr.c:32:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
indextoaddr.c:60:5: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in*)ifsa)->sin_addr.s_addr = INADDR_ANY;
 ^~~~~~~~~~~~~~~~~~~~~~~~~
indextoaddr.c:64:5: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)ifsa)->sin6_addr = in6addr_any;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
gcc -o ref/debug-Darwin-x86_64/indextoname.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude indextoname.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from indextoname.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/nametoindex.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude nametoindex.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from nametoindex.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/inet_network.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude inet_network.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from inet_network.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/md5.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude md5.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from md5.c:29:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
md5.c:364:3: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4
[-Wcast-align]
*(uint32_t*) &ctx->buffer[bytes + pad] = SWAP (ctx->total[0] << 3);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
md5.c:365:3: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4
[-Wcast-align]
*(uint32_t*) &ctx->buffer[bytes + pad + 4] = SWAP ((ctx->total[1] << 3) |
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
gcc -o ref/debug-Darwin-x86_64/rand.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude rand.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from rand.c:30:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/gsi.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude gsi.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from gsi.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
gsi.c:166:17: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
memcpy (gsi, &((struct sockaddr_in*)(res->ai_addr))->sin_addr, sizeof(struct in_addr));
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:33: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~~~~~~~~
3 warnings generated.
gcc -o ref/debug-Darwin-x86_64/tsi.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude tsi.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from tsi.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/txw.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude txw.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from txw.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
txw.c:310:39: warning: format specifies type 'void *' but the argument has type 'const char *' [-Wformat-pedantic]
pgm_debug ("add (window:%p skb:%p)", (const char*)window, (const char*)skb);
 ~~ ^~~~~~~~~~~~~~~~~~~
 %s
include/impl/messages.h:55:37: note: expanded from macro 'pgm_debug'
pgm__log (PGM_LOG_LEVEL_DEBUG, __VA_ARGS__); \
 ^~~~~~~~~~~
txw.c:310:60: warning: format specifies type 'void *' but the argument has type 'const char *' [-Wformat-pedantic]
pgm_debug ("add (window:%p skb:%p)", (const char*)window, (const char*)skb);
 ~~ ^~~~~~~~~~~~~~~~
 %s
include/impl/messages.h:55:37: note: expanded from macro 'pgm_debug'
pgm__log (PGM_LOG_LEVEL_DEBUG, __VA_ARGS__); \
 ^~~~~~~~~~~
txw.c:643:6: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2
[-Wcast-align]
*(uint16_t*)((char*)odata_skb->data + parity_length) = odata_tsdu_length;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
gcc -o ref/debug-Darwin-x86_64/rxw.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude rxw.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from rxw.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
rxw.c:375:64: warning: cast from 'char const (*)[48]' to 'struct pgm_rxw_state_t *' drops const qualifier [-Wcast-qual]
const pgm_rxw_state_t* const first_state = (pgm_rxw_state_t*)&first_skb->cb;
 ^
rxw.c:804:57: warning: cast from 'char const (*)[48]' to 'struct pgm_rxw_state_t *' drops const qualifier [-Wcast-qual]
const pgm_rxw_state_t* first_state = (pgm_rxw_state_t*)&first_skb->cb;
 ^
rxw.c:1517:29: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2
[-Wcast-align]
const uint16_t pktlen = *(uint16_t*)( (char*)repair_skb->tail - sizeof(uint16_t));
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
gcc -o ref/debug-Darwin-x86_64/skbuff.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude skbuff.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from skbuff.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/socket.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude socket.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from socket.c:35:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
socket.c:1562:22: warning: initializing 'void *' with an expression of type 'const void *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
void* restrict tmp_optval = optval;
 ^ ~~~~~~
socket.c:1613:20: warning: initializing 'void *' with an expression of type 'const void *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
void* restrict tmp_optval = optval;
 ^ ~~~~~~
socket.c:2268:82: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
memcpy(&send_addr, &send_req->ir_address, pgm_sockaddr_len ((struct sockaddr *)&send_req->ir_address));
 ^
5 warnings generated.
gcc -o ref/debug-Darwin-x86_64/source.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude source.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from source.c:27:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/receiver.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude receiver.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from receiver.c:27:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
receiver.c:1370:47: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses]
(AF_INET6 == sock->send_addr.ss_family) ?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
receiver.c:1370:47: note: place parentheses around the '+' expression to silence this warning
(AF_INET6 == sock->send_addr.ss_family) ?
 ^
receiver.c:1370:47: note: place parentheses around the '?:' expression to evaluate it first
(AF_INET6 == sock->send_addr.ss_family) ?
 ^
receiver.c:2175:14: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2
[-Wcast-align]
pgm_ntohs(*(uint16_t*)( (char*)( skb->pgm_data + 1 ) + sizeof(uint16_t))) :
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
gcc -o ref/debug-Darwin-x86_64/recv.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude recv.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from recv.c:40:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/timer.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude timer.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from timer.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/net.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude net.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from net.c:35:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/rate_control.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude rate_control.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from rate_control.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/reed_solomon.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude reed_solomon.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from reed_solomon.c:30:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
perl galois_generator.pl > ref/debug-Darwin-x86_64/galois_tables.c
gcc -o ref/debug-Darwin-x86_64/galois_tables.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude ref/debug-Darwin-x86_64/galois_tables.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from ref/debug-Darwin-x86_64/galois_tables.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/wsastrerror.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude wsastrerror.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from wsastrerror.c:24:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
wsastrerror.c:35:9: warning: returning 'const char [9]' from a function with result type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
return _("Unknown.");
 ^~~~~~~~~~~~~
include/impl/i18n.h:32:20: note: expanded from macro '_'
# define _(String) (String)
 ^~~~~~~~
wsastrerror.c:32:12: warning: unused parameter 'wsa_errnum' [-Wunused-parameter]
const int wsa_errnum
 ^
wsastrerror.c:43:9: warning: returning 'const char [9]' from a function with result type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
return _("Unknown.");
 ^~~~~~~~~~~~~
include/impl/i18n.h:32:20: note: expanded from macro '_'
# define _(String) (String)
 ^~~~~~~~
wsastrerror.c:40:12: warning: unused parameter 'adapter_errnum' [-Wunused-parameter]
const int adapter_errnum
 ^
wsastrerror.c:50:12: warning: unused parameter 'win_errnum' [-Wunused-parameter]
const int win_errnum
 ^
7 warnings generated.
gcc -o ref/debug-Darwin-x86_64/histogram.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude histogram.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from histogram.c:29:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
python version_generator.py > ref/debug-Darwin-x86_64/version.c
gcc -o ref/debug-Darwin-x86_64/version.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude ref/debug-Darwin-x86_64/version.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from ref/debug-Darwin-x86_64/version.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
ar rc ref/debug-Darwin-x86_64/libpgm.a ref/debug-Darwin-x86_64/cpu.o ref/debug-Darwin-x86_64/thread.o ref/debug-Darwin-x86_64/mem.o ref/debug-Darwin-x86_64/string.o ref/debug-Darwin-x86_64/list.o ref/debug-Darwin-x86_64/slist.o ref/debug-Darwin-x86_64/queue.o ref/debug-Darwin-x86_64/hashtable.o ref/debug-Darwin-x86_64/messages.o ref/debug-Darwin-x86_64/error.o ref/debug-Darwin-x86_64/math.o ref/debug-Darwin-x86_64/packet_parse.o ref/debug-Darwin-x86_64/packet_test.o ref/debug-Darwin-x86_64/sockaddr.o ref/debug-Darwin-x86_64/time.o ref/debug-Darwin-x86_64/if.o ref/debug-Darwin-x86_64/inet_lnaof.o ref/debug-Darwin-x86_64/getifaddrs.o ref/debug-Darwin-x86_64/get_nprocs.o ref/debug-Darwin-x86_64/getnetbyname.o ref/debug-Darwin-x86_64/getnodeaddr.o ref/debug-Darwin-x86_64/getprotobyname.o ref/debug-Darwin-x86_64/indextoaddr.o ref/debug-Darwin-x86_64/indextoname.o ref/debug-Darwin-x86_64/nametoindex.o ref/debug-Darwin-x86_64/inet_network.o ref/debug-Darwin-x86_64/md5.o ref/debug-Darwin-x86_64/rand.o ref/debug-Darwin-x86_64/gsi.o ref/debug-Darwin-x86_64/tsi.o ref/debug-Darwin-x86_64/txw.o ref/debug-Darwin-x86_64/rxw.o ref/debug-Darwin-x86_64/skbuff.o ref/debug-Darwin-x86_64/socket.o ref/debug-Darwin-x86_64/source.o ref/debug-Darwin-x86_64/receiver.o ref/debug-Darwin-x86_64/recv.o ref/debug-Darwin-x86_64/engine.o ref/debug-Darwin-x86_64/timer.o ref/debug-Darwin-x86_64/net.o ref/debug-Darwin-x86_64/rate_control.o ref/debug-Darwin-x86_64/checksum.o ref/debug-Darwin-x86_64/reed_solomon.o ref/debug-Darwin-x86_64/galois_tables.o ref/debug-Darwin-x86_64/wsastrerror.o ref/debug-Darwin-x86_64/histogram.o ref/debug-Darwin-x86_64/version.o
ranlib ref/debug-Darwin-x86_64/libpgm.a
gcc -o ref/debug-Darwin-x86_64/examples/daytime -pipe ref/debug-Darwin-x86_64/examples/daytime.o ref/debug-Darwin-x86_64/examples/getopt.o ref/debug-Darwin-x86_64/examples/getopt_long.o -Lref/debug-Darwin-x86_64 -L. -lpgm -lpthread -lm -lresolv
gcc -o ref/debug-Darwin-x86_64/examples/purinrecv.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude examples/purinrecv.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from examples/purinrecv.c:42:
In file included from include/pgm/in.h:30:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/examples/purinrecv -pipe ref/debug-Darwin-x86_64/examples/purinrecv.o ref/debug-Darwin-x86_64/examples/getopt.o ref/debug-Darwin-x86_64/examples/getopt_long.o -Lref/debug-Darwin-x86_64 -L. -lpgm -lpthread -lm -lresolv
g++ -o ref/debug-Darwin-x86_64/examples/purinrecvcc.o -c -pipe -march=native -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude examples/purinrecvcc.cc
g++ -o ref/debug-Darwin-x86_64/examples/purinrecvcc -pipe ref/debug-Darwin-x86_64/examples/purinrecvcc.o ref/debug-Darwin-x86_64/examples/getopt.o ref/debug-Darwin-x86_64/examples/getopt_long.o -Lref/debug-Darwin-x86_64 -L. -lpgm -lpthread -lm -lresolv
gcc -o ref/debug-Darwin-x86_64/examples/purinsend.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude examples/purinsend.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from examples/purinsend.c:34:
In file included from include/pgm/in.h:30:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/examples/purinsend -pipe ref/debug-Darwin-x86_64/examples/purinsend.o ref/debug-Darwin-x86_64/examples/getopt.o ref/debug-Darwin-x86_64/examples/getopt_long.o -Lref/debug-Darwin-x86_64 -L. -lpgm -lpthread -lm -lresolv
g++ -o ref/debug-Darwin-x86_64/examples/purinsendcc.o -c -pipe -march=native -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude examples/purinsendcc.cc
g++ -o ref/debug-Darwin-x86_64/examples/purinsendcc -pipe ref/debug-Darwin-x86_64/examples/purinsendcc.o ref/debug-Darwin-x86_64/examples/getopt.o ref/debug-Darwin-x86_64/examples/getopt_long.o -Lref/debug-Darwin-x86_64 -L. -lpgm -lpthread -lm -lresolv
gcc -o ref/debug-Darwin-x86_64/examples/shortcakerecv.o -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude examples/shortcakerecv.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from examples/shortcakerecv.c:39:
In file included from include/pgm/in.h:30:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
examples/shortcakerecv.c:295:8: warning: declaration shadows a variable in the global scope [-Wshadow]
char network[1024];
 ^
examples/shortcakerecv.c:49:20: note: previous declaration is here
static const char* network = "";
 ^
3 warnings generated.
gcc -o ref/debug-Darwin-x86_64/examples/shortcakerecv -pipe ref/debug-Darwin-x86_64/examples/shortcakerecv.o ref/debug-Darwin-x86_64/examples/async.o ref/debug-Darwin-x86_64/examples/getopt.o ref/debug-Darwin-x86_64/examples/getopt_long.o -Lref/debug-Darwin-x86_64 -L. -lpgm -lpthread -lm -lresolv
gcc -o ref/debug-Darwin-x86_64/galois_tables.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude ref/debug-Darwin-x86_64/galois_tables.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from ref/debug-Darwin-x86_64/galois_tables.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/get_nprocs.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude get_nprocs.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from get_nprocs.c:42:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/getifaddrs.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude getifaddrs.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from getifaddrs.c:53:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/getnetbyname.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude getnetbyname.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from getnetbyname.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/getnodeaddr.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude getnodeaddr.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from getnodeaddr.c:38:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
getnodeaddr.c:118:25: warning: cast from 'char *' to 'struct addrinfo *' increases required alignment from 1 to 8 [-Wcast-align]
struct addrinfo* t = (struct addrinfo*)(p);
 ^~~~~~~~~~~~~~~~~~~~~
getnodeaddr.c:125:15: warning: incompatible pointer types assigning to 'struct addrinfo *' from 'char *'
[-Wincompatible-pointer-types]
t->ai_next = (NULL == ai->ai_next) ? NULL : p;
 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getnodeaddr.c:110:20: warning: unused variable 'prev' [-Wunused-variable]
struct addrinfo* prev = NULL;
 ^
getnodeaddr.c:210:8: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
if (((struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr == ((struct in_addr*)(he->h_addr_list[0]))->s_addr)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
getnodeaddr.c:210:66: warning: cast from 'char *' to 'struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align]
if (((struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr == ((struct in_addr*)(he->h_addr_list[0]))->s_addr)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 warnings generated.
gcc -o ref/debug-Darwin-x86_64/getprotobyname.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude getprotobyname.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from getprotobyname.c:27:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/gsi.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude gsi.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from gsi.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
gsi.c:166:17: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
memcpy (gsi, &((struct sockaddr_in*)(res->ai_addr))->sin_addr, sizeof(struct in_addr));
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:33: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~~~~~~~~
3 warnings generated.
gcc -o ref/debug-Darwin-x86_64/hashtable.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude hashtable.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from hashtable.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/histogram.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude histogram.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from histogram.c:29:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/if.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude if.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from if.c:42:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
if.c:165:48: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
if (0 != pgm_sockaddr_ntop ((struct sockaddr*)&gsr->gsr_group, group, sizeof (group)))
 ^
if.c:167:48: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
if (0 != pgm_sockaddr_ntop ((struct sockaddr*)&gsr->gsr_source, source, sizeof (source)))
 ^
if.c:169:48: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
if (0 != pgm_sockaddr_ntop ((struct sockaddr*)&gsr->gsr_addr, addr, sizeof (addr)))
 ^
if.c:424:42: warning: implicit declaration of function 'inet_ntoa' is invalid in C99 [-Wimplicit-function-declaration]
pgm_debug ("IPv4 network address: %s", inet_ntoa (t));
 ^
if.c:424:42: warning: this function declaration is not a prototype [-Wstrict-prototypes]
if.c:424:42: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
pgm_debug ("IPv4 network address: %s", inet_ntoa (t));
 ~~ ^~~~~~~~~~~~~
 %d
include/impl/messages.h:55:37: note: expanded from macro 'pgm_debug'
pgm__log (PGM_LOG_LEVEL_DEBUG, __VA_ARGS__); \
 ^~~~~~~~~~~
if.c:481:33: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:494:30: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:649:65: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...if ((AF_INET == res->ai_family && IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr))) ||
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:650:65: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
...(AF_INET6 == res->ai_family && IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:661:66: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...if ((AF_INET == res->ai_family && IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr))) ||
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:662:66: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
...(AF_INET6 == res->ai_family && IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:675:66: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...if ((AF_INET == res->ai_family && IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr))) ||
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:676:66: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
...(AF_INET6 == res->ai_family && IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:698:33: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)(res->ai_addr))->sin_addr.s_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:711:30: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:840:59: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...const struct in_addr ifaddr = { .s_addr = pgm_ntohl (((struct sockaddr_in*)ifa->ifa_addr)->sin_addr.s_addr) };
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:841:59: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
...const struct in_addr netmask = { .s_addr = pgm_ntohl (((struct sockaddr_in*)ifa->ifa_netmask)->sin_addr.s_addr) };
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:886:5: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)ifa->ifa_addr)->sin6_scope_id == sa6_addr.sin6_scope_id) )
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:888:36: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
const struct in6_addr ifaddr = ((struct sockaddr_in6*)ifa->ifa_addr)->sin6_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:889:37: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
const struct in6_addr netmask = ((struct sockaddr_in6*)ifa->ifa_netmask)->sin6_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1029:44: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
if (pgm_inet_pton (AF_INET6, literal, &((struct sockaddr_in6*)addr)->sin6_addr) &&
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1030:32: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)addr)->sin6_addr))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:1033:6: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_port = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1034:6: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_flowinfo = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1035:6: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_scope_id = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1051:39: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
pgm_inet_pton (AF_INET, group, &((struct sockaddr_in*)addr)->sin_addr) &&
 ^~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1052:31: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)addr)->sin_addr.s_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:1066:40: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
pgm_inet_pton (AF_INET6, group, &((struct sockaddr_in6*)addr)->sin6_addr) &&
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1067:30: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)addr)->sin6_addr))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:1070:4: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_port = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1071:4: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_flowinfo = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1072:4: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)addr)->sin6_scope_id = 0;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1104:6: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in*)addr)->sin_addr.s_addr = pgm_htonl (sa.sin_addr.s_addr);
 ^~~~~~~~~~~~~~~~~~~~~~~~~
if.c:1208:55: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
if ((AF_INET6 != family && IN_MULTICAST(pgm_ntohl (((struct sockaddr_in*)res->ai_addr)->sin_addr.s_addr))) ||
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:335:36: note: 
expanded from macro 'IN_MULTICAST'
#define IN_MULTICAST(i) IN_CLASSD(i)
 ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet/in.h:331:37: note: 
expanded from macro 'IN_CLASSD'
#define IN_CLASSD(i) (((u_int32_t)(i) & 0xf0000000) == 0xe0000000)
 ^
if.c:1209:54: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
(AF_INET != family && IN6_IS_ADDR_MULTICAST(&((struct sockaddr_in6*)res->ai_addr)->sin6_addr)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/netinet6/in6.h:299:36: note: 
expanded from macro 'IN6_IS_ADDR_MULTICAST'
#define IN6_IS_ADDR_MULTICAST(a) ((a)->s6_addr[0] == 0xff)
 ^
if.c:1449:77: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
memcpy (&gsr->gsr_addr, &ir->ir_addr, pgm_sockaddr_len ((struct sockaddr*)&ir->ir_addr));
 ^
if.c:1549:10: warning: address of array 'ir->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
ir->ir_name ? "\"" : "", ir->ir_name ? ir->ir_name : "(null)", ir->ir_name ? "\"" : "");
 ~~~~^~~~~~~ ~
if.c:1549:35: warning: address of array 'ir->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
ir->ir_name ? "\"" : "", ir->ir_name ? ir->ir_name : "(null)", ir->ir_name ? "\"" : "");
 ~~~~^~~~~~~ ~
if.c:1549:73: warning: address of array 'ir->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
ir->ir_name ? "\"" : "", ir->ir_name ? ir->ir_name : "(null)", ir->ir_name ? "\"" : "");
 ~~~~^~~~~~~ ~
if.c:1557:33: warning: incompatible pointer types passing 'struct sockaddr_storage *' to parameter of type
'const struct sockaddr *' [-Wincompatible-pointer-types]
if (0 != pgm_sockaddr_ntop (&resolved_interface.ir_addr, s, sizeof(s)))
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/impl/sockaddr.h:135:73: note: passing argument to parameter 'sa' here
PGM_GNUC_INTERNAL int pgm_sockaddr_ntop (const struct sockaddr*restrict sa, char*restrict dst, size_t ulen);
 ^
if.c:1558:11: warning: equality comparison result unused [-Wunused-comparison]
s[0] == 0;
 ~~~~~^~~~
if.c:1558:11: note: use '=' to turn this equality comparison into an assignment
s[0] == 0;
 ^~
 =
if.c:1559:60: warning: address of array 'ir->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
pgm_debug ("Interface \"%s\" detected as \"%s\".", ir->ir_name ? ir->ir_name : "", s);
 ~~~~^~~~~~~ ~
include/impl/messages.h:55:37: note: expanded from macro 'pgm_debug'
pgm__log (PGM_LOG_LEVEL_DEBUG, __VA_ARGS__); \
 ^~~~~~~~~~~
if.c:1657:45: warning: incompatible pointer types passing 'struct sockaddr_storage *' to parameter of type 'struct sockaddr *'
[-Wincompatible-pointer-types]
if (!set_default_multicast_group (family, &gsr->gsr_group)) {
 ^~~~~~~~~~~~~~~
if.c:1331:19: note: passing argument to parameter 'sa' here
struct sockaddr* sa
 ^
if.c:1775:96: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
memcpy (&send_gsr->gsr_addr, &primary_interface->ir_addr, pgm_sockaddr_len ((struct sockaddr*)&primary_interface->...
 ^
if.c:1797:26: warning: address of array 'primary_interface->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
primary_interface->ir_name ? "\"":"", primary_interface->ir_name ? primary...
 ~~~~~~~~~~~~~~~~~~~^~~~~~~ ~
if.c:1797:64: warning: address of array 'primary_interface->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
primary_interface->ir_name ? "\"":"", primary_interface->ir_name ? primary...
 ~~~~~~~~~~~~~~~~~~~^~~~~~~ ~
if.c:1797:132: warning: address of array 'primary_interface->ir_name' will always evaluate to 'true' [-Wpointer-bool-conversion]
...? "\"":"", primary_interface->ir_name ? primary_interface->ir_name : "(null)", primary_interface->ir_name ? "\"":"");
 ~~~~~~~~~~~~~~~~~~~^~~~~~~ ~
50 warnings generated.
gcc -o ref/debug-Darwin-x86_64/indextoaddr.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude indextoaddr.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from indextoaddr.c:32:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
indextoaddr.c:60:5: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in*)ifsa)->sin_addr.s_addr = INADDR_ANY;
 ^~~~~~~~~~~~~~~~~~~~~~~~~
indextoaddr.c:64:5: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in6*)ifsa)->sin6_addr = in6addr_any;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
gcc -o ref/debug-Darwin-x86_64/indextoname.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude indextoname.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from indextoname.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/inet_lnaof.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude inet_lnaof.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from inet_lnaof.c:30:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/inet_network.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude inet_network.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from inet_network.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/thread.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude thread.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from thread.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/mem.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude mem.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from mem.c:33:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/string.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude string.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from string.c:34:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/list.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude list.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from list.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/slist.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude slist.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from slist.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/queue.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude queue.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from queue.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/messages.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude messages.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from messages.c:32:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/math.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude math.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from math.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/packet_parse.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude packet_parse.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from packet_parse.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
packet_parse.c:126:29: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
struct sockaddr_in* sin = (struct sockaddr_in*)dst;
 ^~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
gcc -o ref/debug-Darwin-x86_64/packet_test.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude packet_test.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from packet_test.c:34:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/sockaddr.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude sockaddr.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from sockaddr.c:30:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
sockaddr.c:975:17: warning: unused parameter 's' [-Wunused-parameter]
const SOCKET s,
 ^
sockaddr.c:976:21: warning: unused parameter 'sa_family' [-Wunused-parameter]
const sa_family_t sa_family,
 ^
sockaddr.c:977:29: warning: unused parameter 'gf_list' [-Wunused-parameter]
const struct group_filter* gf_list
 ^
sockaddr.c:1372:4: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in *' increases required alignment from 1 to 4
[-Wcast-align]
((struct sockaddr_in*)sa)->sin_addr.s_addr = ((const struct in_addr*)((const char*)nla + sizeof(uint32_t))...
 ^~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1372:49: warning: cast from 'const char *' to 'const struct in_addr *' increases required alignment from 1 to 4
[-Wcast-align]
...((struct sockaddr_in*)sa)->sin_addr.s_addr = ((const struct in_addr*)((const char*)nla + sizeof(uint32_t)))->s_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1377:13: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
memcpy (&((struct sockaddr_in6*)sa)->sin6_addr, (const struct in6_addr*)((const char*)nla + sizeof(uint32_...
 ^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:27: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~
sockaddr.c:1377:51: warning: cast from 'const char *' to 'const struct in6_addr *' increases required alignment from 1 to 4
[-Wcast-align]
...memcpy (&((struct sockaddr_in6*)sa)->sin6_addr, (const struct in6_addr*)((const char*)nla + sizeof(uint32_t)), sizeof(stru...
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:33: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~~~~~~~~
sockaddr.c:1377:13: warning: cast from 'struct sockaddr *' to 'struct sockaddr_in6 *' increases required alignment from 1 to 4
[-Wcast-align]
memcpy (&((struct sockaddr_in6*)sa)->sin6_addr, (const struct in6_addr*)((const char*)nla + sizeof(uint32_...
 ^~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:62: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_common.h:38:55: note: 
expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
 ^~~~~~
sockaddr.c:1398:3: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2
[-Wcast-align]
*(uint16_t*)((char*)nla + sizeof(uint16_t)) = 0; /* reserved 16bit space */
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1402:4: warning: cast from 'char *' to 'struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align]
((struct in_addr*)((char*)nla + sizeof(uint32_t)))->s_addr = ((const struct sockaddr_in*)sa)->sin_addr.s_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1402:65: warning: cast from 'const struct sockaddr *' to 'const struct sockaddr_in *' increases required alignment from
1 to 4 [-Wcast-align]
((struct in_addr*)((char*)nla + sizeof(uint32_t)))->s_addr = ((const struct sockaddr_in*)sa)->sin_addr.s_addr;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sockaddr.c:1407:11: warning: cast from 'char *' to 'struct in6_addr *' increases required alignment from 1 to 4 [-Wcast-align]
memcpy ((struct in6_addr*)((char*)nla + sizeof(uint32_t)), &((const struct sockaddr_in6*)sa)->sin6_addr, s...
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:27: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~
sockaddr.c:1407:64: warning: cast from 'const struct sockaddr *' to 'const struct sockaddr_in6 *' increases required alignment
from 1 to 4 [-Wcast-align]
memcpy ((struct in6_addr*)((char*)nla + sizeof(uint32_t)), &((const struct sockaddr_in6*)sa)->sin6_addr, s...
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:33: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~~~~~~~~
sockaddr.c:1407:11: warning: cast from 'char *' to 'struct in6_addr *' increases required alignment from 1 to 4 [-Wcast-align]
memcpy ((struct in6_addr*)((char*)nla + sizeof(uint32_t)), &((const struct sockaddr_in6*)sa)->sin6_addr, s...
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_string.h:62:62: note: 
expanded from macro 'memcpy'
__builtin___memcpy_chk (dest, __VA_ARGS__, __darwin_obsz0 (dest))
 ^~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/secure/_common.h:38:55: note: 
expanded from macro '__darwin_obsz0'
#define __darwin_obsz0(object) __builtin_object_size (object, 0)
 ^~~~~~
16 warnings generated.
gcc -o ref/debug-Darwin-x86_64/time.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude time.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from time.c:35:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/nametoindex.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude nametoindex.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from nametoindex.c:31:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/md5.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude md5.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from md5.c:29:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
md5.c:364:3: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4
[-Wcast-align]
*(uint32_t*) &ctx->buffer[bytes + pad] = SWAP (ctx->total[0] << 3);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
md5.c:365:3: warning: cast from 'char *' to 'uint32_t *' (aka 'unsigned int *') increases required alignment from 1 to 4
[-Wcast-align]
*(uint32_t*) &ctx->buffer[bytes + pad + 4] = SWAP ((ctx->total[1] << 3) |
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
gcc -o ref/debug-Darwin-x86_64/rand.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude rand.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from rand.c:30:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/tsi.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude tsi.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from tsi.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/txw.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude txw.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from txw.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
txw.c:310:39: warning: format specifies type 'void *' but the argument has type 'const char *' [-Wformat-pedantic]
pgm_debug ("add (window:%p skb:%p)", (const char*)window, (const char*)skb);
 ~~ ^~~~~~~~~~~~~~~~~~~
 %s
include/impl/messages.h:55:37: note: expanded from macro 'pgm_debug'
pgm__log (PGM_LOG_LEVEL_DEBUG, __VA_ARGS__); \
 ^~~~~~~~~~~
txw.c:310:60: warning: format specifies type 'void *' but the argument has type 'const char *' [-Wformat-pedantic]
pgm_debug ("add (window:%p skb:%p)", (const char*)window, (const char*)skb);
 ~~ ^~~~~~~~~~~~~~~~
 %s
include/impl/messages.h:55:37: note: expanded from macro 'pgm_debug'
pgm__log (PGM_LOG_LEVEL_DEBUG, __VA_ARGS__); \
 ^~~~~~~~~~~
txw.c:643:6: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2
[-Wcast-align]
*(uint16_t*)((char*)odata_skb->data + parity_length) = odata_tsdu_length;
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
gcc -o ref/debug-Darwin-x86_64/rxw.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude rxw.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from rxw.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
rxw.c:375:64: warning: cast from 'char const (*)[48]' to 'struct pgm_rxw_state_t *' drops const qualifier [-Wcast-qual]
const pgm_rxw_state_t* const first_state = (pgm_rxw_state_t*)&first_skb->cb;
 ^
rxw.c:804:57: warning: cast from 'char const (*)[48]' to 'struct pgm_rxw_state_t *' drops const qualifier [-Wcast-qual]
const pgm_rxw_state_t* first_state = (pgm_rxw_state_t*)&first_skb->cb;
 ^
rxw.c:1517:29: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2
[-Wcast-align]
const uint16_t pktlen = *(uint16_t*)( (char*)repair_skb->tail - sizeof(uint16_t));
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 warnings generated.
gcc -o ref/debug-Darwin-x86_64/skbuff.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude skbuff.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from skbuff.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/socket.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude socket.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from socket.c:35:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
socket.c:1562:22: warning: initializing 'void *' with an expression of type 'const void *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
void* restrict tmp_optval = optval;
 ^ ~~~~~~
socket.c:1613:20: warning: initializing 'void *' with an expression of type 'const void *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
void* restrict tmp_optval = optval;
 ^ ~~~~~~
socket.c:2268:82: warning: cast from 'const struct sockaddr_storage *' to 'struct sockaddr *' drops const qualifier [-Wcast-qual]
memcpy(&send_addr, &send_req->ir_address, pgm_sockaddr_len ((struct sockaddr *)&send_req->ir_address));
 ^
5 warnings generated.
gcc -o ref/debug-Darwin-x86_64/source.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude source.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from source.c:27:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/receiver.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude receiver.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from receiver.c:27:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
receiver.c:1370:47: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses]
(AF_INET6 == sock->send_addr.ss_family) ?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
receiver.c:1370:47: note: place parentheses around the '+' expression to silence this warning
(AF_INET6 == sock->send_addr.ss_family) ?
 ^
receiver.c:1370:47: note: place parentheses around the '?:' expression to evaluate it first
(AF_INET6 == sock->send_addr.ss_family) ?
 ^
receiver.c:2175:14: warning: cast from 'char *' to 'uint16_t *' (aka 'unsigned short *') increases required alignment from 1 to 2
[-Wcast-align]
pgm_ntohs(*(uint16_t*)( (char*)( skb->pgm_data + 1 ) + sizeof(uint16_t))) :
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
gcc -o ref/debug-Darwin-x86_64/recv.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude recv.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from recv.c:40:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/timer.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude timer.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from timer.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/net.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude net.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from net.c:35:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/rate_control.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude rate_control.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from rate_control.c:25:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/reed_solomon.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude reed_solomon.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from reed_solomon.c:30:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
gcc -o ref/debug-Darwin-x86_64/wsastrerror.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude wsastrerror.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from wsastrerror.c:24:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
wsastrerror.c:35:9: warning: returning 'const char [9]' from a function with result type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
return _("Unknown.");
 ^~~~~~~~~~~~~
include/impl/i18n.h:32:20: note: expanded from macro '_'
# define _(String) (String)
 ^~~~~~~~
wsastrerror.c:32:12: warning: unused parameter 'wsa_errnum' [-Wunused-parameter]
const int wsa_errnum
 ^
wsastrerror.c:43:9: warning: returning 'const char [9]' from a function with result type 'char *' discards qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]
return _("Unknown.");
 ^~~~~~~~~~~~~
include/impl/i18n.h:32:20: note: expanded from macro '_'
# define _(String) (String)
 ^~~~~~~~
wsastrerror.c:40:12: warning: unused parameter 'adapter_errnum' [-Wunused-parameter]
const int adapter_errnum
 ^
wsastrerror.c:50:12: warning: unused parameter 'win_errnum' [-Wunused-parameter]
const int win_errnum
 ^
7 warnings generated.
gcc -o ref/debug-Darwin-x86_64/version.os -c -pipe -Wall -Wextra -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Wno-inline -Wno-unused-function -pedantic -march=native -std=gnu99 -D_REENTRANT -DUSE_GALOIS_MUL_LUT -DHAVE_CONFIG_H -D__APPLE_USE_RFC_2292 -DPGM_DEBUG -ggdb -DGETTEXT_PACKAGE='"pgm"' -fPIC -Iref/debug-Darwin-x86_64/include -Iinclude -Iinclude ref/debug-Darwin-x86_64/version.c
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'?
[-Wunknown-warning-option]
In file included from ref/debug-Darwin-x86_64/version.c:26:
In file included from include/impl/framework.h:30:
In file included from include/pgm/atomic.h:46:
include/pgm/types.h:96:10: warning: keyword is hidden by macro definition [-Wkeyword-macro]
# define restrict
 ^
2 warnings generated.
ar rc ref/debug-Darwin-x86_64/libpgm-pic.a ref/debug-Darwin-x86_64/cpu.os ref/debug-Darwin-x86_64/thread.os ref/debug-Darwin-x86_64/mem.os ref/debug-Darwin-x86_64/string.os ref/debug-Darwin-x86_64/list.os ref/debug-Darwin-x86_64/slist.os ref/debug-Darwin-x86_64/queue.os ref/debug-Darwin-x86_64/hashtable.os ref/debug-Darwin-x86_64/messages.os ref/debug-Darwin-x86_64/error.os ref/debug-Darwin-x86_64/math.os ref/debug-Darwin-x86_64/packet_parse.os ref/debug-Darwin-x86_64/packet_test.os ref/debug-Darwin-x86_64/sockaddr.os ref/debug-Darwin-x86_64/time.os ref/debug-Darwin-x86_64/if.os ref/debug-Darwin-x86_64/inet_lnaof.os ref/debug-Darwin-x86_64/getifaddrs.os ref/debug-Darwin-x86_64/get_nprocs.os ref/debug-Darwin-x86_64/getnetbyname.os ref/debug-Darwin-x86_64/getnodeaddr.os ref/debug-Darwin-x86_64/getprotobyname.os ref/debug-Darwin-x86_64/indextoaddr.os ref/debug-Darwin-x86_64/indextoname.os ref/debug-Darwin-x86_64/nametoindex.os ref/debug-Darwin-x86_64/inet_network.os ref/debug-Darwin-x86_64/md5.os ref/debug-Darwin-x86_64/rand.os ref/debug-Darwin-x86_64/gsi.os ref/debug-Darwin-x86_64/tsi.os ref/debug-Darwin-x86_64/txw.os ref/debug-Darwin-x86_64/rxw.os ref/debug-Darwin-x86_64/skbuff.os ref/debug-Darwin-x86_64/socket.os ref/debug-Darwin-x86_64/source.os ref/debug-Darwin-x86_64/receiver.os ref/debug-Darwin-x86_64/recv.os ref/debug-Darwin-x86_64/engine.os ref/debug-Darwin-x86_64/timer.os ref/debug-Darwin-x86_64/net.os ref/debug-Darwin-x86_64/rate_control.os ref/debug-Darwin-x86_64/checksum.os ref/debug-Darwin-x86_64/reed_solomon.os ref/debug-Darwin-x86_64/galois_tables.os ref/debug-Darwin-x86_64/wsastrerror.os ref/debug-Darwin-x86_64/histogram.os ref/debug-Darwin-x86_64/version.os
ranlib ref/debug-Darwin-x86_64/libpgm-pic.a
scons: done building targets.
]1337;RemoteHost=ky@ix]1337;CurrentDir=/Users/ky/Projects/cuttlebone/openpgm/openpgm/pgm[?2004h]0;fish /Users/ky/Projects/cuttlebone/openpgm/openpgm/pgm(B⏎(B ⏎ ]133;D;0]133;Aix $ ]133;B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  e~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  e(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ps2eps (B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  x(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ex(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  it(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  it(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  exit(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  t(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  exit(B~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  ~/Projects/cuttlebone/openpgm/openpgm/pgm(B (master)  
(B[?2004l]133;C;]0;exit /Users/ky/Projects/cuttlebone/openpgm/openpgm/pgm(B (B[?2004l
Script done on Tue Sep 12 11:33:27 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment