Page MenuHome GnuPG

Case value not in enumerated type
Closed, ResolvedPublic

Description

On the wish list for a clean compile...


...
libtool: compile: /usr/local/bin/clang -DHAVE_CONFIG_H -I. -I..
-fsanitize=address -fsanitize=undefined -I/usr/local/include -fsanitize=address
-fsanitize=undefined -fno-sanitize=vptr -fvisibility=hidden -Wall -MT
libgcrypt_la-global.lo -MD -MP -MF .deps/libgcrypt_la-global.Tpo -c global.c -o
libgcrypt_la-global.o
global.c:587:10: warning: case value not in enumerated type 'enum gcry_ctl_cmds'

  [-Wswitch]
case 58:  /* Init external random test.  */
     ^

global.c:604:10: warning: case value not in enumerated type 'enum gcry_ctl_cmds'

  [-Wswitch]
case 59:  /* Run external random test.  */
     ^

global.c:615:10: warning: case value not in enumerated type 'enum gcry_ctl_cmds'

  [-Wswitch]
case 60:  /* Deinit external random test.  */
     ^

global.c:621:10: warning: case value not in enumerated type 'enum gcry_ctl_cmds'

  [-Wswitch]
case 61:  /* Run external lock test */
     ^

global.c:624:10: warning: case value not in enumerated type 'enum gcry_ctl_cmds'

  [-Wswitch]
case 62:  /* RFU */
     ^

5 warnings generated.
...

Details

Version
1.6.3

Event Timeline

JW set Version to 1.6.3.
JW added a subscriber: JW.
werner claimed this task.
werner added a project: Not A Bug.

Yes it is not for a reason - checkout the comments to see why.