Re: Does GCC 3.4 fix this bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx    ::     http://www.planetfall.pwp.blueyonder.co.uk



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux