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
stdlib.h and signal.h in os/include using same struct and function name i.e. mallinfo & sigaction. The function declaration shadows the struct declaration resulting in build warnings. The PR #6585 has been raised to prevent warnings to come during build, but proper fix is needed.
The proper fix can be as follow:
Either change struct or function name
Move functions declaration into separate header file
stdlib.h
andsignal.h
inos/include
using same struct and function name i.e.mallinfo
&sigaction
. The function declaration shadows the struct declaration resulting in build warnings. The PR #6585 has been raised to prevent warnings to come during build, but proper fix is needed.The proper fix can be as follow:
Reference - https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html
The text was updated successfully, but these errors were encountered: