c++ - Bug in "int(int(10));"?
- Michel (14/14) Jul 16 2009 Hi,
- Walter Bright (2/2) Aug 02 2009 Please post to http://bugzilla.digitalmars.com/issues/
Hi, I'm currently doing automatic code-generation and stumbled over a this: My code generates "int(int(10));" which produces the compiler-error "Error: '=', ';' or ',' expected". To reproduce this behaviour: int main() { int(int(10)); } I have no idea whether this is a bug since I do not now the standard in such a detail but at least MSVC++ 8.0 & 9.0 and the Comeau-compiler don't complain. I'm using the DMC version 8.42n on Windows Vista. Greetings, Michel
Jul 16 2009
Please post to http://bugzilla.digitalmars.com/issues/ Thanks!
Aug 02 2009