delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2009/06/11/12:47:57

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:in-reply-to:references
:date:message-id:subject:from:to:content-type
:content-transfer-encoding;
bh=GE8wV559+TzEMzRu2PN+kLYdl8cau5/m+E9S1gZJyx0=;
b=VHjDYwvYxehzvLo5VmA/ypTpD3KK+Tu3wL0VrfN8jUOyGEOaDtsg7luzNFMxd4pyM1
6fqEJ7TMRw3oJ/2CTqv2XDoyG8HmLsNpSYV8UbPSrzwahREqHKXc2ht/F1ts2pCbFZsN
qQW+yL4YRC31mB+txssm7EXCoZZSZqba+VGf4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:content-type:content-transfer-encoding;
b=wnFpH4X02tOeDmvlf/g0+bDcTaeTvEQayfPF9+YvXvB2UZiR3vZrn1bvz8Wd3oXCD0
T2XA2y3dAwQQP58q0kDYjrwqXcjLh/xNCDKQja7HO0HfJ2lwrD8ZM8REeeCghSRfiom2
u6ppiqtKpk5MY0d911r/cEu8afxVqVcwsDuxU=
MIME-Version: 1.0
In-Reply-To: <20090611163844.157270@gmx.net>
References: <20090611151046 DOT 27260 AT gmx DOT net>
<647fe9b10906110852wb57936ap67dfa83c2db0b9ed AT mail DOT gmail DOT com>
<20090611163844 DOT 157270 AT gmx DOT net>
Date: Thu, 11 Jun 2009 19:47:43 +0300
Message-ID: <647fe9b10906110947saaecbe3s9b5c4be42060f1a@mail.gmail.com>
Subject: Re: multiple definitions of _rdtsc
From: Ozkan Sezer <sezeroz AT gmail DOT com>
To: djgpp-workers AT delorie DOT com
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>> > -unsigned long long _rdtsc(void);
>> > +static unsigned long long _rdtsc(void);
>>
>> Why not just remove this line, do we really need
>> the prototype?

> Removing the prototype and keeping the function as "extern"
> does not solve the issue. =A0It continues producing the error
> reported. =A0If the prototype shall be removed then the function
> must be "static" instead of "extern".

... which is what I actually meant. if it is an inline, just do
it static and without protos, does it not work that way?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019