X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Content-Type: text/plain; charset="iso-8859-1" Date: Thu, 11 Jun 2009 18:38:44 +0200 From: "Juan Manuel Guerrero" 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== Content-Transfer-Encoding: 8bit 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 Precedence: bulk -------- Original-Nachricht -------- > Datum: Thu, 11 Jun 2009 18:52:45 +0300 > Von: Ozkan Sezer > 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 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