public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/396: [2003-01-01] const int null = 0;
@ 2003-05-05 20:23 bangerth
  0 siblings, 0 replies; only message in thread
From: bangerth @ 2003-05-05 20:23 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, martin, mlepage, nobody

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-05 20:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-05 20:23 c++/396: [2003-01-01] const int null = 0; bangerth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).