v4.0.x - some new warnings

Chaigneau, Nicolas nicolas.chaigneau at capgemini.com
Mon Mar 26 19:59:50 CEST 2018


Hello,


A few more warnings from gcc 7.3 on today's 4.0.x sources :



CC src/lib/util/dict.c
src/lib/util/dict.c: In function 'dict_attr_add_by_name':
src/lib/util/dict.c:1559:2: warning: this statement may fall through [-Wimplicit-fallthrough=]
  {
  ^
src/lib/util/dict.c:1581:2: note: here
  case FR_TYPE_COMBO_IP_PREFIX:
  ^~~~



CC src/lib/util/value.c
src/lib/util/value.c: In function 'fr_value_box_cast_to_ipv4prefix':
src/lib/util/value.c:1643:2: warning: this statement may fall through [-Wimplicit-fallthrough=]
  {
  ^
src/lib/util/value.c:1651:2: note: here
  default:
  ^~~~~~~



CC src/main/cond_tokenize.c
src/main/cond_tokenize.c: In function 'cond_tokenize':
src/main/cond_tokenize.c:1119:23: warning: this statement may fall through [-Wimplicit-fallthrough=]
        c->pass2_fixup = PASS2_FIXUP_TYPE;
        ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/main/cond_tokenize.c:1121:7: note: here
       default:
       ^~~~~~~


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.


More information about the Freeradius-Devel mailing list