From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32356 invoked by alias); 30 Apr 2012 19:02:40 -0000 Received: (qmail 32343 invoked by uid 22791); 30 Apr 2012 19:02:39 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Apr 2012 19:02:25 +0000 From: "shalja.rudra at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/53173] New: PROD02 Date: Mon, 30 Apr 2012 19:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: shalja.rudra at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-04/txt/msg02648.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D53173 Bug #: 53173 Summary: PROD02 Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: shalja.rudra@gmail.com Hi All, I am trying to upgrade (GCC) 4.4.0 to (GCC) 4.6.2. I see bunch of incompat= ible error from code which works with (GCC) 4.4.0 but NOT with (GCC) 4.6.2.=20 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) )=20 Encountered errors: 1. error: =E2=80=98constexpr=E2=80=99 needed for in-class initialization of= static data member 2. error: no matching function for call to =E2=80=98std::pair=20 4. error: no matching function for call to =E2=80=98make_pair(std::string&, std::string&)=E2=80=99 5. error: declaration of =E2=80=98~typename 6. error: call of overloaded =E2=80=98isnan(double&)=E2=80=99 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 remo= ve incompatibilty between these. I am suspicious if some of the issue is already fixed in (GCC) 4.6.3 (alrea= dy 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