Bug 217921 - sci-biology/amap-2.1 fails w/ gcc-4.3.0; bump and patch
Bug#: 217921 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci-biology@gentoo.org Reported By: loki_val@gentoo.org
Component: GCC Porting
URL: 
Summary: sci-biology/amap-2.1 fails w/ gcc-4.3.0; bump and patch
Keywords:  
Status Whiteboard: 
Opened: 2008-04-16 10:14 0000
Description:   Opened: 2008-04-16 10:14 0000
i686-pc-linux-gnu-g++ -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3
-DNDEBUG -DNumInsertStates=1 -DVERSION='"AMAP.2.1"' -lm -o amap Amap.cc
In file included from Amap.cc:9:
MultiSequenceDag.h: In member function ‘MultiSequence*
MultiSequenceDag::AlignDag(const SafeVector<SafeVector<SparseMatrix*> >&,
float, bool, bool, bool, float)’:
MultiSequenceDag.h:780: error: ‘numeric_limits’ is not a member of
‘std’
MultiSequenceDag.h:780: error: expected primary-expression before ‘float’
MultiSequenceDag.h:780: error: expected `;' before ‘float’
Amap.cc: In function ‘bool GetInteger(char*, int*)’:
Amap.cc:618: error: ‘LONG_MAX’ was not declared in this scope
Amap.cc:618: error: ‘LONG_MIN’ was not declared in this scope
Amap.cc:619: error: ‘INT_MIN’ was not declared in this scope
Amap.cc:619: error: ‘INT_MAX’ was not declared in this scope
Amap.cc: In function ‘SafeVector<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > ParseParams(int, char**)’:
Amap.cc:748: error: ‘strcmp’ was not declared in this scope
make: *** [amap] Error 1


Reproducible: Always

------- Comment #1 From Peter Alfredsen 2008-04-16 10:16:23 0000 -------
Created an attachment (id=149913) [details]
amap-2.1--2.2.ebuild.patch

------- Comment #2 From Peter Alfredsen 2008-04-16 10:17:03 0000 -------
Created an attachment (id=149914) [details]
2.2-fix-cxxflags.patch

------- Comment #3 From Peter Alfredsen 2008-04-16 10:17:23 0000 -------
Created an attachment (id=149916) [details]
2.2-gcc43.patch

------- Comment #4 From Markus Dittrich 2008-04-17 18:21:06 0000 -------
Fixed in cvs. Thanks much for the patches.

cheers,
Markus