http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53173
Bug #: 53173
Summary: PROD02
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi All,
I am trying to upgrade (GCC) 4.4.0 to (GCC) 4.6.2. I see bunch of incompatible
error from code which works with (GCC) 4.4.0 but NOT with (GCC) 4.6.2.
The machine information is following: Linux version 2.6.32-220.el6.x86_64 (gcc
version 4.4.5 20110214 (Red Hat 4.4.5-6) (GCC) )
Encountered errors:
1. error: ‘constexpr’ needed for in-class initialization of static data member
2. error: no matching function for call to ‘std::pair<const long unsigned int,
boost::shared_ptr<const
3. /usr/include/sigc++-2.0/sigc++/signal.h:38:11: error: 'ptrdiff_t' does not
name a typeFix: #include <cstddef>
4. error: no matching function for call to ‘make_pair(std::string&,
std::string&)’
5. error: declaration of ‘~typename
6. error: call of overloaded ‘isnan(double&)’ is ambiguous
e.t.c
I do refer https://wiki.edubuntu.org/GCC4.6 to fix some of the issue. I
rebuilt boost_1_47_0, SQLAPI-3.7.35, etc. with (GCC) 4.6.2 as well to remove
incompatibilty between these.
I am suspicious if some of the issue is already fixed in (GCC) 4.6.3 (already
released). Please let me know if we can use (GCC) 4.6.3 instead of (GCC) 4.6.2.
Also please point me from where we can refer to get some more information to
fix our code copilation and linking issue with (GCC) 4.6.2.
Thanks