🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.lang.c
Article #15645

[GCC][C99] Question existentielle

#15645
From: Stephane Zuckerman
Date: Wed, 14 Sep 2005 10:49
19 lines
1575 bytes
Je tentais de compiler un petit programme UNIX, avec la commande

gcc -Wall -W -O3 -pedantic -std=c99 -o monprog monprog.c

quand, a l'appel de inet_aton(), GCC me repond :

monprog.c:24: warning : implicit declaration of function 'inet_aton'

Evidemment, j'ai verifie que les headers etaient inclus correctement.

Lorsque je retire l'option std=c99, plus de probleme de warning. Y a-t-il
quelque chose qui aurait change entre C89 et C99 pour ce qui est des
declarations de fonctions ?

-- 
"Je deteste les ordinateurs : ils font toujours ce que je dis, jamais ce
que je veux !"
"The obvious mathematical breakthrough would be development of an easy
way to factor large prime numbers." (Bill Gates, The Road Ahead)
Technical Details
Message-ID: <Pine.OSF.4.58.0509141241430.76796@vega.utc.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nocworld.net!u-picardie.fr!utc.fr!vega.utc.fr!szuckerm

Show Full Headers
Complete Article Headers
X-Google-Thread: f9822,dfa86d012b670262,start
X-Google-Attributes: gidf9822,public
X-Google-Language: FRENCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nocworld.net!u-picardie.fr!utc.fr!vega.utc.fr!szuckerm
From: Stephane Zuckerman <szuckerm@etu.utc.fr>
Newsgroups: fr.comp.lang.c
Subject: [GCC][C99] Question existentielle
Date: Wed, 14 Sep 2005 12:49:20 +0200
Organization: UTC - Universite de Technologie de Compiegne - France
Lines: 19
Message-ID: <Pine.OSF.4.58.0509141241430.76796@vega.utc.fr>
NNTP-Posting-Host: vega.utc.fr
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Trace: utcnews.utc.fr 1126694960 11415 195.83.156.40 (14 Sep 2005 10:49:20 GMT)
X-Complaints-To: usenet@utc.fr
NNTP-Posting-Date: Wed, 14 Sep 2005 10:49:20 +0000 (UTC)
X-X-Sender: szuckerm@vega.utc.fr