March 12, 2006 DMC++ 8.48.2 | ||||
---|---|---|---|---|
| ||||
http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip http://www.digitalmars.com/download/freecompiler.html |
March 22, 2006 Re: DMC++ 8.48.2 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | "Walter Bright" <newshound@digitalmars.com> wrote in news:dv0gjc$2ng8$1@digitaldaemon.com: > http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip http://www.digitalmars.com/download/freecompiler.html Hi! I found a problem with this beta (but I'm not sure it's fresh problem). Looks like __FUNCTION__ doe not work within functions embedded in classes. First occurence of __FUNCTION__ works fine but second breaks with "expression expected" error. void bar() { const char* name = __FUNCTION__; } class MyClass { public: void foo() { const char* name = __FUNCTION__; } } ABX |
Copyright © 1999-2021 by the D Language Foundation