On 04/22/2017 10:57 AM, Patrick Dupre wrote:
Hello,
I would like that gcc generates an error (and not a warning),
when there is a call to a non predeclared function.
How can I do it?
You might find that using the switches
-Wall -Wextra
are useful when you're trying to write code that is as clean as possible.
To convert all warnings into errors you can use -Werror.
--
Susi Lehtola
Fedora Project Contributor
jussilehtola(a)fedoraproject.org