First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 215570
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Mathematics related packages <sci-mathematics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Bert Karwatzki <spasswolf@web.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2008-03-31 13:03 0000
Compiling ginac-1.4.1 with gcc-4.3.0 from portage gives following error:
numeric.cpp:422: error: explicit template specialization cannot have a storage
class resolved by patch


Reproducible: Always




This patch solves the problem:
diff -aur ginac.old/numeric.cpp ginac/numeric.cpp
--- ginac.old/numeric.cpp       2008-03-29 16:22:52.000000000 +0100
+++ ginac/numeric.cpp   2008-03-29 17:49:41.000000000 +0100
@@ -408,7 +408,7 @@
  * @sa http://www.ginac.de/pipermail/cln-list/2006-October/000248.html
  */
 template<>
-static inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg) 
+inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg) 
 {
        static const cln::cl_I cl_max_int =
                (cln::cl_I)(long)(std::numeric_limits<int>::max());
@@ -422,7 +422,7 @@
 }

 template<>
-static inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const
cln::cl_I& arg)
+inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const
cln::cl_I& arg)
 {

------- Comment #1 From Markus Dittrich 2008-04-01 12:53:05 0000 -------
Thanks much for the note + patch. I'll have a look
at it later.

Best,
Markus

------- Comment #2 From Markus Dittrich 2008-04-01 15:20:32 0000 -------
Fixed in portage cvs.

Thanks,
Markus

First Last Prev Next    No search results available      Search page      Enter new bug