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
Fix compile errors in TscMon when using -Wformat -Wformat-security co…
…mpiler flags
The default Yocto compile flags include-Wformat -Wformat-security -Werror=format-security.
These flags correctly cause a compilation error for certain fprintf calls in the TscMon code, i.e.
fprintf(stderr, __gscope_save_usage);
fprintf expects some formatting arguments, but is not getting any in this case.
Use the following instead:
fprintf(stderr, "%s", __gscope_save_usage);
Always include stdint.h when compiling with GNU_SOURCE defined
Prevents compilation errors when using gcc > 8.3.0 and the GNU_SOURCE macro
[ICSHWI-5585]