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

Den tors 7 feb. 2019 19:00 skrev Gunar Schorcht <gu...@schorcht.net>:

> 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
>
> --
> Wenn du laufen willst, lauf eine Meile. Wenn du ein neues Leben
> kennenlernen willst, dann lauf Marathon. (Emil Zatopek)
>
> _______________________________________________
> devel mailing list
> devel@riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to