Hi all,
It's my first post to these forums so please be gentle
I'm using Visual Assist X 10.4.1624.0 with Visual Studio 2005. Our project is > 2M lines of C++ code.
In places we use a construction with macros where one macro starts a statement, then some code or parameters is specified, and another macro is used to end the statement.
In a simplified form:
#define INIT_BEGIN(nr) static void init_##nr(QInit& init); \ static QInit init_##nr(&init_##nr); \ static void init_##nr(QInit& reg) { reg.LazyInit (
#define INIT_END ; };
Actual usage of these macro's:
INIT_BEGIN(4)
"Extra parameters to LazyInit go here",
true,
NULL
INIT_END
This construction seems to confuse Visual Assist very much, i.e. there is no completion available in a file after these macros have been used.
Admittedly this is very creative use of C++ preprocessor macros, but it would be *greatly* appreciated by all our developers if this construction was handled correctly.
Best regards,
Ramon Verbruggen
Quintiq
The Netherlands.