]> www.ginac.de Git - ginac.git/commitdiff
* Fix GCC 4.3 compilation issue by removing storage class of function coerce speciali...
authorRichard Kreckel <Richard.Kreckel@uni-mainz.de>
Wed, 12 Dec 2007 04:57:03 +0000 (04:57 +0000)
committerAlexei Sheplyakov <varg@vargsbox.jinr.ru>
Thu, 13 Dec 2007 05:31:51 +0000 (08:31 +0300)
ginac/numeric.cpp

index 3ca4b58c5ef31487c1e7a654a47885e67df7c4aa..ab6e8b806d201fe224cf401b9106e33b3ce7d556 100644 (file)
@@ -408,7 +408,7 @@ static inline bool coerce(T1& dst, const T2& arg);
  * @sa http://www.ginac.de/pipermail/cln-list/2006-October/000248.html
  */
 template<>
  * @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());
 {
        static const cln::cl_I cl_max_int = 
                (cln::cl_I)(long)(std::numeric_limits<int>::max());
@@ -422,7 +422,7 @@ static inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg)
 }
 
 template<>
 }
 
 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)
 {
        static const cln::cl_I cl_max_uint = 
                (cln::cl_I)(unsigned long)(std::numeric_limits<unsigned int>::max());
 {
        static const cln::cl_I cl_max_uint = 
                (cln::cl_I)(unsigned long)(std::numeric_limits<unsigned int>::max());