From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-01-25 15:02:57
Andy Little wrote:
>"Reece Dunn" wrote
> > Can you try my suggestions above because I have it working with VC7.1
> > would like to know why it is not working for you!
>Hi Reece . I copy pasted the <libs/fixed_string/example/cstring.cpp> into
> I had (as usual) test project set to debug mode. In which case I get the
>'buffer_': identifier not found, even with argument-dependent lookup
>I just tried it in release mode and it works ok.
>debug settings are
>/D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /EHsc /MTd /Za /Zc:wchar_t
>/GR /Fp".\Debug/Test.pch" /Fo".\Debug/" /Fd".\Debug/" /W3 /nologo /c /ZI
> FWIW release settings ( works )
>/D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /EHsc /MT /Zc:wchar_t /Zc:forScope
>/FAs /Fa".\Release/" /Fo".\Release/" /Fd".\Release/" /W3 /nologo /c /TP
>I'll look some more tonight . I prefer that to reading documentation .
Try the /Za flag that is in the debug version and not the release :). It
seems therefore that the review version has a problem when the MS extensions
are disabled (the /Za flag).
Hmm, I'll see if the two-phase lookup patch fixes the issue. Thus, instead
buffer_( ... );
replace that with:
this->buffer_( ... );