lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS doesn't make (gcc 3.3)


From: Mats Bengtsson
Subject: Re: CVS doesn't make (gcc 3.3)
Date: Thu, 15 Sep 2005 22:19:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050319

I think this is the 4th report of the same bug. I have replaced a number
of calls to fabs() by abs(), which seems to solve the problem, and
commited the patch to CVS.

  /Mats



Erik Sandberg wrote:
Hi,

make gives the following error:

[...]
rm -f ./out/tie.dep; DEPENDENCIES_OUTPUT="./out/tie.dep ./out/tie.o" g++ -c -DHAVE_CONFIG_H -DNDEBUG -DSTRING_UTILS_INLINED -Iinclude -I./out -I../flower/include -I../flower/./out -I../flower/include -DNDEBUG -I/usr/include/python2.4 -O2 -finline-functions -g -pipe -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -DNDEBUG -I/usr/include/python2.4 -O2 -finline-functions -g -pipe -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -W -Wall -Wconversion -Wno-pmf-conversions -o out/tie.o tie.cc
tie.cc: In static member function `static void Tie::get_configuration(Grob*,
   Grob*, Tie_configuration*, const Drul_array<Array<Skyline_entry> >*, const
   Tie_details&)':
tie.cc:328: error: call of overloaded `fabs(int&)' is ambiguous
/usr/include/bits/mathinline.h:446: error: candidates are: double fabs(double)
/usr/include/c++/3.3/cmath:328: error:                 long double
   std::fabs(long double)
/usr/include/c++/3.3/cmath:324: error:                 float std::fabs(float)
[...]


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]