From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1652 invoked by alias); 8 Sep 2002 23:06:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 1633 invoked by uid 71); 8 Sep 2002 23:06:01 -0000 Date: Sun, 08 Sep 2002 16:06:00 -0000 Message-ID: <20020908230601.1632.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Peter Schmid Subject: Re: c++/7858: g++ rejects legal code (regression from gcc 3.*) Reply-To: Peter Schmid X-SW-Source: 2002-09/txt/msg00125.txt.bz2 List-Id: The following reply was made to PR c++/7858; it has been noted by GNATS. From: Peter Schmid To: Andrew Pinski Cc: , Subject: Re: c++/7858: g++ rejects legal code (regression from gcc 3.*) Date: Mon, 9 Sep 2002 00:58:03 +0200 (CEST) Dear Andrew Pinski, If you argument is true then the code in the header file bits/stl_function.h has to be corrected since the binder1st facility included in this PR is copied from this file. I do not understand the error message "error: non-lvalue in unary `&'". Could you please explain why the compiler emits this message? Furthermore, since about a week or so STLport does not compile. The file ../lib/obj/GCC-LINUX/ReleaseD/dll_main.cpp is rejected by the compiler with a "./stlport/stl/_string.h:773: error: non-lvalue in unary `&'" message. There are similar problems with boost. I extracted the testcase included in this PR from boost/libs/utility/indirect_iterator_example.cpp. Thanks, Peter Schmid