
Andy Little wrote:
"Reece Dunn" wrote
Can you try my suggestions above because I have it working with VC7.1 and would like to know why it is not working for you!
Hi Reece . I copy pasted the <libs/fixed_string/example/cstring.cpp> into VC7.1 project.
I had (as usual) test project set to debug mode. In which case I get the error
c:\boost\boost_1_33_0\boost\fixed_string\fixed_string.hpp(390): error C3861: 'buffer_': identifier not found, even with argument-dependent lookup
I just tried it in release mode and it works ok.
Good :).
debug settings are
/D "WIN32" /D "_DEBUG" /D "_CONSOLE" /FD /EHsc /MTd /Za /Zc:wchar_t /Zc:forScope /GR /Fp".\Debug/Test.pch" /Fo".\Debug/" /Fd".\Debug/" /W3 /nologo /c /ZI /TP
FWIW release settings ( works )
/D "WIN32" /D "NDEBUG" /D "_CONSOLE" /FD /EHsc /MT /Zc:wchar_t /Zc:forScope /GR /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 of having: buffer_( ... ); replace that with: this->buffer_( ... ); - Reece