You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how much (if any) of this comment is still accurate.
This same commit added the line #define sscanf THINK_TWICE_ABOUT_USING_SSCANF
This is a logical way to prevent use of this function, but recent compilers will warn about unused macros (and often this warning is enabled by -Wall or -Wextra).
I propose either of these fixes to remove this warning:
explicitly pass -Wno-unused-macros to gcc
remove the macro from the source file and pass -D sscanf=THINK_TWICE_ABOUT_USING_SSCANF to gcc
The text was updated successfully, but these errors were encountered:
Commit 96150ba removed all calls to
sscanf
, but it's still referenced in a comment here:https://github.com/kgabis/parson/blob/master/parson.c#L594
I don't know how much (if any) of this comment is still accurate.
This same commit added the line
#define sscanf THINK_TWICE_ABOUT_USING_SSCANF
This is a logical way to prevent use of this function, but recent compilers will warn about unused macros (and often this warning is enabled by
-Wall
or-Wextra
).I propose either of these fixes to remove this warning:
-Wno-unused-macros
togcc
-D sscanf=THINK_TWICE_ABOUT_USING_SSCANF
togcc
The text was updated successfully, but these errors were encountered: