From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21746 invoked by alias); 5 May 2003 20:23:01 -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 21709 invoked by uid 48); 5 May 2003 20:23:00 -0000 Date: Mon, 05 May 2003 20:23:00 -0000 Message-ID: <20030505202300.21708.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, martin@loewis.home.cs.tu-berlin.de, mlepage@molecularmining.com, nobody@gcc.gnu.org From: bangerth@dealii.org Reply-To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, martin@loewis.home.cs.tu-berlin.de, mlepage@molecularmining.com, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/396: [2003-01-01] const int null = 0; X-SW-Source: 2003-05/txt/msg00313.txt.bz2 List-Id: Synopsis: [2003-01-01] const int null = 0; State-Changed-From-To: analyzed->closed State-Changed-By: bangerth State-Changed-When: Mon May 5 20:23:00 2003 State-Changed-Why: This is finally fixed in 3.2.3 (some time after 3.2), 3.3 and present mainline (3.4): g/x> /home/bangerth/bin/gcc-3.2/bin/gcc -W -Wall -c x.cc x.cc: In function `int main()': x.cc:14: invalid conversion from `int' to `int*' x.cc:14: initializing argument 1 of `static void Foo::f(int*)' g/x> g/x> g/x> /home/bangerth/bin/gcc-3.2.3-pre/bin/gcc -W -Wall -c x.cc x.cc: In function `int main()': x.cc:11: invalid conversion from `int' to `int*' x.cc:14: invalid conversion from `int' to `int*' x.cc:14: initializing argument 1 of `static void Foo::f(int*)' g/x> g/x> g/x> /home/bangerth/bin/gcc-3.3-pre/bin/gcc -W -Wall -c x.cc x.cc: In function `int main()': x.cc:11: error: invalid conversion from `int' to `int*' x.cc:14: error: invalid conversion from `int' to `int*' x.cc:14: error: initializing argument 1 of `static void Foo::f(int*)' g/x> g/x> g/x> /home/bangerth/bin/gcc-3.4-pre/bin/gcc -W -Wall -c x.cc x.cc: In function `int main()': x.cc:11: error: invalid conversion from `int' to `int*' x.cc:11: error: initializing argument 1 of `void f(int*)' x.cc:14: error: invalid conversion from `int' to `int*' x.cc:14: error: initializing argument 1 of `static void Foo::f(int*)' http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=396