www.digitalmars.com         C & C++   DMDScript  

c++.beta - DMC++ 8.48.2

reply "Walter Bright" <newshound digitalmars.com> writes:
http://ftp.digitalmars.com/Digital_Mars_C++/Patch/beta.zip

http://www.digitalmars.com/download/freecompiler.html
Mar 11 2006
parent "Włodzimierz Skiba" <abx abx.art.pl> writes:
"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
Mar 22 2006