Does GCC 3.4 fix this bug?

Nathan Sidwell nathan@codesourcery.com
Thu Sep 11 16:23:00 GMT 2003


Eljay Love-Jensen wrote:
> Hi everyone,
> 
> Does anyone know if this annoying bug in GCC is going to be fixed in 3.4?

> int main()
> {
>   Bar quux(Foo()); // -- Bug in GCC 3.2 & 3.3
quux is a function taking a (pointer to function taking no args, returning a
Foo) argument and returning a Bar
>   //Bar quux((0,Foo())); // -- workaround in GCC 3.2 & 3.3
or Bar quux = Bar (Foo ())

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
          The voices in my head said this was stupid too
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc-help mailing list