Re: [riot-devel] Function declaration isn't a prototype

2019-02-07 Thread Joakim NohlgÄrd
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 :

> 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


[riot-devel] Function declaration isn't a prototype

2019-02-07 Thread Gunar Schorcht
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)



signature.asc
Description: OpenPGP digital signature
___
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel