Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 149122
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Simon Stelling (RETIRED) <blubb@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ed Catmur <ed@catmur.co.uk>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
long-long-abs.patch long-long-abs.patch patch Ed Catmur 2006-09-25 15:08 0000 2.80 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 149122 depends on: Show dependency tree
Bug 149122 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-25 14:49 0000
GParted_Core.cc: In member function 

------- Comment #1 From Ed Catmur 2006-09-25 14:49:35 0000 -------
GParted_Core.cc: In member function ‘bool
GParted::GParted_Core::copy_filesystem(const Glib::ustring&, const
Glib::ustring&, GParted::Sector, GParted::Sector, GParted::Sector,
GParted::OperationDetail&, bool, GParted::Sector&)’:
GParted_Core.cc:1607: error: call of overloaded ‘abs(GParted::Sector&)’ is
ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cstdlib:143: note: 
               long int std::abs(long int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:90: note:    
            double std::abs(double)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:94: note:    
            float std::abs(float)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:98: note:    
            long double std::abs(long double)
GParted_Core.cc:1651: error: call of overloaded ‘abs(GParted::Sector&)’ is
ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cstdlib:143: note: 
               long int std::abs(long int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:90: note:    
            double std::abs(double)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:94: note:    
            float std::abs(float)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:98: note:    
            long double std::abs(long double)
GParted_Core.cc: In member function ‘bool
GParted::GParted_Core::copy_blocks(const Glib::ustring&, const Glib::ustring&,
GParted::Sector, GParted::Sector, GParted::Sector, GParted::Sector,
GParted::OperationDetail&, bool, GParted::Sector&)’:
GParted_Core.cc:1825: error: call of overloaded ‘abs(GParted::Sector&)’ is
ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cstdlib:143: note: 
               long int std::abs(long int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:90: note:    
            double std::abs(double)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:94: note:    
            float std::abs(float)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:98: note:    
            long double std::abs(long double)
GParted_Core.cc:1846: error: call of overloaded ‘abs(GParted::Sector&)’ is
ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cstdlib:143: note: 
               long int std::abs(long int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:90: note:    
            double std::abs(double)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:94: note:    
            float std::abs(float)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:98: note:    
            long double std::abs(long double)
GParted_Core.cc:1861: error: call of overloaded ‘abs(long long int)’ is
ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cstdlib:143: note: 
               long int std::abs(long int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:90: note:    
            double std::abs(double)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:94: note:    
            float std::abs(float)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:98: note:    
            long double std::abs(long double)
GParted_Core.cc:1880: error: call of overloaded ‘abs(GParted::Sector&)’ is
ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cstdlib:143: note: 
               long int std::abs(long int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:90: note:    
            double std::abs(double)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:94: note:    
            float std::abs(float)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:98: note:    
            long double std::abs(long double)
GParted_Core.cc:1886: error: call of overloaded ‘abs(GParted::Sector&)’ is
ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cstdlib:143: note: 
               long int std::abs(long int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:90: note:    
            double std::abs(double)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:94: note:    
            float std::abs(float)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:98: note:    
            long double std::abs(long double)
GParted_Core.cc: In member function ‘bool
GParted::GParted_Core::copy_block(PedDevice*, PedDevice*, GParted::Sector,
GParted::Sector, GParted::Sector, Glib::ustring&, bool)’:
GParted_Core.cc:1915: error: call of overloaded ‘abs(GParted::Sector&)’ is
ambiguous
/usr/include/stdlib.h:786: note: candidates are: int abs(int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cstdlib:143: note: 
               long int std::abs(long int)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:90: note:    
            double std::abs(double)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:94: note:    
            float std::abs(float)
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/include/g++-v4/cmath:98: note:    
            long double std::abs(long double)
if powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4
-I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4
-I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4
-I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include
-I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0  
-DGNOMELOCALEDIR=\""/usr/share/locale"\"
-DGNOME_ICONDIR=\""/usr/share/pixmaps"\"                   -Wall         -g -O2
-pipe -mcpu=G4 -mabi=altivec -fno-omit-frame-pointer -MT OperationCopy.o -MD
-MP -MF ".deps/OperationCopy.Tpo" \
          -c -o OperationCopy.o `test -f 'OperationCopy.cc' || echo
'./'`OperationCopy.cc; \
        then mv -f ".deps/OperationCopy.Tpo" ".deps/OperationCopy.Po"; \
        else rm -f ".deps/OperationCopy.Tpo"; exit 1; \
        fi
make[2]: *** [GParted_Core.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/gparted-0.3.1/work/gparted-0.3.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gparted-0.3.1/work/gparted-0.3.1'
make: *** [all] Error 2

!!! ERROR: sys-block/gparted-0.3.1 failed.

gcc-4.1.1-r1 on ppc-32.

------- Comment #2 From Ed Catmur 2006-09-25 14:57:02 0000 -------
Upstreamed: http://bugzilla.gnome.org/show_bug.cgi?id=357691

------- Comment #3 From Ed Catmur 2006-09-25 15:08:57 0000 -------
Created an attachment (id=98070) [details]
long-long-abs.patch

Suggested patch.

------- Comment #4 From Simon Stelling (RETIRED) 2006-09-26 06:28:38 0000 -------
fixed in CVS, thanks for the patch!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug