gcc bug? Apr 27, 2005 int main() { int(); // a temporary int. (int()); // a temporary int, in parens. "parse error" in gcc. } This doesn't compile in gcc 3.2 or 3.3, but works fine in Visual Studio and MIPSPro. Compiler bug? Preordering Online Sucks! - NextPrevious - Memories: Midnight Player and QBasic Games Have a comment? Send me an email or tweet. follow on Mastodon follow with Feedly RSS for the rest Imported Comments [?] mudpoet on Apr 27, 2005 does it work in gcc 4 ? aegisknight on Apr 27, 2005 I don't have a gcc 4 to test with. :( anonymous on Apr 28, 2005 Yes, works in gcc4. thespeedbump on Apr 30, 2005 FYI, I managed to compile it on cygwin. The whole thing went without a hitch. aegisknight on Apr 30, 2005 Does [HTML_REMOVED]checked_cast[HTML_REMOVED]? aegisknight on Apr 30, 2005 Wow, that's surprising. Cygwin wasn't a primary platform in gcc 3.
does it work in gcc 4 ?
I don't have a gcc 4 to test with. :(
Yes, works in gcc4.
FYI, I managed to compile it on cygwin. The whole thing went without a hitch.
Does [HTML_REMOVED]checked_cast[HTML_REMOVED]?
Wow, that's surprising. Cygwin wasn't a primary platform in gcc 3.