X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: RayeR Newsgroups: comp.os.msdos.djgpp Subject: Re: _rdtsc(void) inline function in time.h - cause problem with multiple definition during linking Date: Tue, 1 Nov 2011 09:53:54 -0700 (PDT) Organization: http://groups.google.com Lines: 8 Message-ID: <51d504c0-738e-4574-8112-730c3dd20756@v5g2000vbh.googlegroups.com> References: <4ce51722-c2fd-4fe0-8cb9-ebae498c3271 AT r1g2000yqm DOT googlegroups DOT com> <83k47tc9u2 DOT fsf AT gnu DOT org> <65da0e3d-29ea-46ae-b23d-ae08652594aa AT a17g2000yqj DOT googlegroups DOT com> <0a80c084-8135-4c4d-a25c-b56f3eb41e36 AT y36g2000yqm DOT googlegroups DOT com> <4EA8D10E DOT 8030200 AT iki DOT fi> <851c9b46-4f07-439f-bd59-a3a7c0c00f39 AT a12g2000vbz DOT googlegroups DOT com> <9h64ieF40sU1 AT mid DOT dfncis DOT de> NNTP-Posting-Host: 90.181.199.10 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1320166828 27002 127.0.0.1 (1 Nov 2011 17:00:28 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 1 Nov 2011 17:00:28 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: v5g2000vbh.googlegroups.com; posting-host=90.181.199.10; posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14,gzip(gfe) Bytes: 2476 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pA1HU9uw027931 Reply-To: djgpp AT delorie DOT com > So every program that wants to use these macros actually has to include > to be portable.  In that sense, having do it > might do users a disservice by providing a false feel of correctness --- > the author of that Linux code you found apparently fell into that trap > already. OK, thanks for explanation, I fixed program sources (bios_extract, not commited yet).