Menu

#5 Fix parameter c was not declared, defaults to int with clang 16

Unstable (example)
open
None
5
2023-05-11
2023-05-11
listout
No

With clang 16 bmf fails to build with the following error
lex.c:189:36: error: parameter c was not declared, defaults to int; ISO
C99 and later do not support implicit int [-Werror,-Wimplicit-int].

The fix was to explicitly declare the variable c as an int

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB