Re: [ROOT] porting code to gcc-3.2.2

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Tue Mar 11 2003 - 00:58:53 MET


Hi Jacek,

 on which platform?

-- Fons


On Mon, 2003-03-10 at 23:06, Jacek M. Holeczek wrote:
> Hi,
> This is not strictly root related, but ...
> While trying to "move" from (root +) gcc-2.95.3 to (root +) gcc-3.2.2
> I get tons of errors related to "cmath" saying "sqrt(int)" is ambiguous
> ("double sqrt(double)", "float sqrt(float)", ...).
> Is there any easy way to fix this (it's not only "sqrt" - also "sin",
> "cos", ... and it's not only "int" - also "short", "long", "char", ...).
> I would need a "general" solution ...
> Thanks in advance,
> Jacek.
-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7679480



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET