From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8793 invoked by alias); 14 Oct 2013 00:22:14 -0000 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 Received: (qmail 8762 invoked by uid 48); 14 Oct 2013 00:22:11 -0000 From: "ali.baharev at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58713] error:=?UTF-8?Q?=20cannot=20bind=20=E2=80=98std?=::ostream {aka std::basic_ostream=?UTF-8?Q?=7D=E2=80=99=20lvalue=20to=20=E2=80=98std?=::basic_ostream=?UTF-8?Q?=26=26=E2=80=99?= Date: Mon, 14 Oct 2013 00:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: ali.baharev 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-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-10/txt/msg00745.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58713 --- Comment #2 from Ali Baharev --- >> Why do the 32 and 64 bit versions behave differently? > > They don't. I think maybe you forgot to use -std=c++11 in the first case? Yes, that's what happened. Sorry, my mistake.