Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Warning for not declared function: (3 Items)
   
Warning for not declared function  
If a function is not declared during compilation (missing include), the compiler only make a warning
Is it a way to force an error instead a warning for this case

Thanks 

Olivier
Re: Warning for not declared function  
On 13-06-24 11:07 AM, Gervot Olivier wrote:
> If a function is not declared during compilation (missing include), the compiler only make a warning
> Is it a way to force an error instead a warning for this case

-Werror=implicit-function-declaration

Regards,

Ryan Mansfield

Re: Warning for not declared function  
It works

Thank for your fast answer

Olivier