
23 Aug
2007
23 Aug
'07
5:41 p.m.
Alexander Nasonov wrote:
Christian Larsen <contact <at> dword.dk> writes:
It applies to ScopeExit I see. It seems to be caused by the use of
__LINE__,
(see
http://article.gmane.org/gmane.comp.lib.boost.user/17341/match=boost+edit+ co
ntinue). This makes sense as edit & continue would probably get a hard time with changing line numbers. But still it produces nonsense error messages.
Can you change it to __COUNT__ and check that it solves your problem?
Yes, changing all occurrences of __LINE__ to __COUNT__ in scope_exit.hpp solves the problem in both versions of Visual Studio. Sorry for the late answer, I've been on vacation until today. Best regards, Christian Larsen