Hey there all.
We're only using two real rulesets: core and kam.cf
Our nightly sa-update/sa-compile run is throwing warnings like the
following. So, these are only warnings, and the compile continues, but
they're making my cron jobs noisy.
The questions:
1) Are these known issues.
2) Is it worth filing a bug?
OS is FreeBSD 12.4, and I think these are using the on-box c compiler
(clang), not gcc.
-Dan
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include
-O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.32/mach/CORE" body_0.c
In file included from body_0.xs:2:
In file included from /usr/local/lib/perl5/5.32/mach/CORE/perl.h:3921:
In file included from /usr/local/lib/perl5/5.32/mach/CORE/hv.h:663:
In file included from /usr/local/lib/perl5/5.32/mach/CORE/hv_func.h:35:
In file included from /usr/local/lib/perl5/5.32/mach/CORE/sbox32_hash.h:4:
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:150:5: warning: '('
and '{' tokens introducing statement expression appear in different macro
expansion contexts [-Wcompound-token-split-by-macro]
ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:80:38: note: expanded
from macro 'ZAPHOD32_SCRAMBLE32'
#define ZAPHOD32_SCRAMBLE32(v,prime) STMT_START { \
^~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/perl.h:666:29: note: expanded from
macro 'STMT_START'
# define STMT_START (void)( /* gcc supports "({ STATEMENTS; })" */
^
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:150:5: note: '{' token
is here
ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:80:49: note: expanded
from macro 'ZAPHOD32_SCRAMBLE32'
#define ZAPHOD32_SCRAMBLE32(v,prime) STMT_START { \
^
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:150:5: warning: '}'
and ')' tokens terminating statement expression appear in different macro
expansion contexts [-Wcompound-token-split-by-macro]
ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:87:41: note: expanded
from macro 'ZAPHOD32_SCRAMBLE32'
v ^= (v>>23); \
^
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:150:5: note: ')' token
is here
ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:88:3: note: expanded
from macro 'ZAPHOD32_SCRAMBLE32'
} STMT_END
^~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/perl.h:667:21: note: expanded from
macro 'STMT_END'
# define STMT_END )
^
--
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
FB: fb.com/DanielMahoneyIV
LI: linkedin.com/in/gushi
Site: http://www.gushi.org
---------------------------
We're only using two real rulesets: core and kam.cf
Our nightly sa-update/sa-compile run is throwing warnings like the
following. So, these are only warnings, and the compile continues, but
they're making my cron jobs noisy.
The questions:
1) Are these known issues.
2) Is it worth filing a bug?
OS is FreeBSD 12.4, and I think these are using the on-box c compiler
(clang), not gcc.
-Dan
cc -c -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE
-fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include
-O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-DVERSION=\"1.0\" -DXS_VERSION=\"1.0\" -DPIC -fPIC
"-I/usr/local/lib/perl5/5.32/mach/CORE" body_0.c
In file included from body_0.xs:2:
In file included from /usr/local/lib/perl5/5.32/mach/CORE/perl.h:3921:
In file included from /usr/local/lib/perl5/5.32/mach/CORE/hv.h:663:
In file included from /usr/local/lib/perl5/5.32/mach/CORE/hv_func.h:35:
In file included from /usr/local/lib/perl5/5.32/mach/CORE/sbox32_hash.h:4:
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:150:5: warning: '('
and '{' tokens introducing statement expression appear in different macro
expansion contexts [-Wcompound-token-split-by-macro]
ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:80:38: note: expanded
from macro 'ZAPHOD32_SCRAMBLE32'
#define ZAPHOD32_SCRAMBLE32(v,prime) STMT_START { \
^~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/perl.h:666:29: note: expanded from
macro 'STMT_START'
# define STMT_START (void)( /* gcc supports "({ STATEMENTS; })" */
^
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:150:5: note: '{' token
is here
ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:80:49: note: expanded
from macro 'ZAPHOD32_SCRAMBLE32'
#define ZAPHOD32_SCRAMBLE32(v,prime) STMT_START { \
^
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:150:5: warning: '}'
and ')' tokens terminating statement expression appear in different macro
expansion contexts [-Wcompound-token-split-by-macro]
ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:87:41: note: expanded
from macro 'ZAPHOD32_SCRAMBLE32'
v ^= (v>>23); \
^
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:150:5: note: ')' token
is here
ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/zaphod32_hash.h:88:3: note: expanded
from macro 'ZAPHOD32_SCRAMBLE32'
} STMT_END
^~~~~~~~
/usr/local/lib/perl5/5.32/mach/CORE/perl.h:667:21: note: expanded from
macro 'STMT_END'
# define STMT_END )
^
--
--------Dan Mahoney--------
Techie, Sysadmin, WebGeek
Gushi on efnet/undernet IRC
FB: fb.com/DanielMahoneyIV
LI: linkedin.com/in/gushi
Site: http://www.gushi.org
---------------------------