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

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Thu, 11 Jun 2009 18:38:44 +0200
From: "Juan Manuel Guerrero" <juan DOT guerrero AT gmx DOT de>
In-Reply-To: <647fe9b10906110852wb57936ap67dfa83c2db0b9ed@mail.gmail.com>
Message-ID: <20090611163844.157270@gmx.net>
MIME-Version: 1.0
References: <20090611151046 DOT 27260 AT gmx DOT net>
<647fe9b10906110852wb57936ap67dfa83c2db0b9ed AT mail DOT gmail DOT com>
Subject: Re: multiple definitions of _rdtsc
To: djgpp-workers AT delorie DOT com
X-Authenticated: #27081556
X-Flags: 0001
X-Mailer: WWW-Mail 6100 (Global Message Exchange)
X-Priority: 3
X-Provags-ID: V01U2FsdGVkX1+WJUsDTjiWreSxjDQji0JrLg9PmcNwBKogwoh31p
0uHy8kyu98VHFd3NXW0/KXUKeOxWRP9jBBMw==
X-GMX-UID: dFpEeVsIODB6Tj5a7mVMWKY9Ji9SWlId
X-FuHaFi: 0.6
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

-------- Original-Nachricht --------
> Datum: Thu, 11 Jun 2009 18:52:45 +0300
> Von: Ozkan Sezer <sezeroz AT gmail DOT com>
> An: djgpp-workers AT delorie DOT com
> Betreff: Re: multiple definitions of _rdtsc

> On Thu, Jun 11, 2009 at 6:10 PM, Juan Manuel
> Guerrero<juan DOT guerrero AT gmx DOT de> wrote:
> > -unsigned long long _rdtsc(void);
> > +static unsigned long long _rdtsc(void);
> 
> Why not just remove this line, do we really need
> the prototype?
> 
> --
> Ozkan

Removing the prototype and keeping the function as "extern"
does not solve the issue.  It continues producing the error
reported.  If the prototype shall be removed then the function
must be "static" instead of "extern".
-- 
GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und Telefonanschluss
für nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02

- Raw text -


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