OK,
Thank.
Also, how cai I force the checking of the pointer type in the
call function?
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
> Sent: Saturday, April 22, 2017 at 8:05 PM
> From: "Jakub Jelinek" <jakub(a)redhat.com>
> To: "Community support for Fedora users"
<users(a)lists.fedoraproject.org>
> Subject: Re: gcc
>
> On Sat, Apr 22, 2017 at 07:57:17PM +0200, 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.
>
> In C? -Werror=implicit-function-declaration or -pedantic-errors (if in c99
> or later mode, which is the default). In C++ you always get an error about
> that.
>
> Jakub
> _______________________________________________
> users mailing list -- users(a)lists.fedoraproject.org
> To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
>