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
During compilation, a warning occurred regarding a conflict between the declaration of __dls2 without a prototype in the dlstart.c file and its definition with a prototype in the rcrt1.c file. The compiler reports that the declaration without a prototype is deprecated and is treated as a zero-parameter prototype in C2x.
warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
Request: How can we resolve this conflict? Should the declaration be aligned with the prototype, or are there other solutions to consider?
The text was updated successfully, but these errors were encountered:
We usezig for the convenience of cross compilation. You can always compile directly on the target platform or use other cross compilation toolchains, such as: https://musl.cc
During compilation, a warning occurred regarding a conflict between the declaration of __dls2 without a prototype in the dlstart.c file and its definition with a prototype in the rcrt1.c file. The compiler reports that the declaration without a prototype is deprecated and is treated as a zero-parameter prototype in C2x.
warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
Request: How can we resolve this conflict? Should the declaration be aligned with the prototype, or are there other solutions to consider?
The text was updated successfully, but these errors were encountered: