Article View: be.comp.programming
Article #2501Re: C & headers
From: Nicolas Barbier
Date: Sat, 15 May 2004 11:21
Date: Sat, 15 May 2004 11:21
13 lines
1529 bytes
1529 bytes
Aquila wrote: > Waarom returnen functies rare dingen als ik ze oproep vanuit een andere > file, zonder de header te includeren? Het impliciete return-type voor functies die worden gebruikt voor ze worden gedeclareerd, is int (AFAIK). Als je dus iets anders als return-type hebt gespecifieerd, krijg je undefined behavior. Ik raad je aan om je compiler geen impliciete functie-declaraties te laten aanvaarden. -- Nicolas Barbier Protecting innovation against patent inflation <url:http://swpat.ffii.org/>
Technical Details
Message-ID:
<40a5fd24$0$8984$6c56d894@feed0.news.be.easynet.net>Path:
arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!zen.net.uk!demorgan.zen.co.uk!195.40.4.120.MISMATCH!easynet-quince!easynet.net!feed0.news.be.easynet.net!not-for-mailReferences:
<c84pd2$kbn$1@reader08.wxs.nl>Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,91d9c58131758e85 X-Google-Attributes: gidfcea4,public Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news2.euro.net!zen.net.uk!demorgan.zen.co.uk!195.40.4.120.MISMATCH!easynet-quince!easynet.net!feed0.news.be.easynet.net!not-for-mail Message-ID: <40a5fd24$0$8984$6c56d894@feed0.news.be.easynet.net> From: Nicolas Barbier <reply@in.group.invalid> Subject: Re: C & headers Newsgroups: be.comp.programming Date: Sat, 15 May 2004 13:21:46 +0200 References: <c84pd2$kbn$1@reader08.wxs.nl> User-Agent: KNode/0.7.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Lines: 13 Organization: [ posted via Easynet Belgium ] NNTP-Posting-Date: 15 May 2004 11:21:08 GMT NNTP-Posting-Host: 213.193.183.96 X-Trace: 1084620068 feed0.news.be.easynet.net 8984 [::ffff:213.193.183.96]:32842 X-Complaints-To: abuse@be.easynet.net