Hi,
what would be the right way, if there is one, to use vendor code without modifications in case of bunch of following error messages?
"error: function declaration isn't a prototype [-Werror=strict-prototypes]"
Regards Gunar
Hi,
what would be the right way, if there is one, to use vendor code without modifications in case of bunch of following error messages?
"error: function declaration isn't a prototype [-Werror=strict-prototypes]"
Regards Gunar
The obvious workaround is to turn off the warning via -Wno-strict-prototypes The alternative is to fix the function declarations in the headers. IIRC this is what shows up when you forget to put void inside the argument list of a function which takes no arguments in C (it is not a warning in C++).
Best regards, Joakim