User forums > Nightly builds

The 02 March 2014 build (9673.) is out.

<< < (3/3)

White-Tiger:

--- Quote from: ollydbg on March 06, 2014, 03:31:28 am ---[...]

--- Code: ---BEGIN_MESSAGE_MAP(SomeClass, BaseClass)
// [...]
END_MESSAGE_MAP()

--- End code ---
When it see BEGIN_MESSAGE_MAP, it don't expand it, same as END_MESSAGE_MAP().
[...]
--- End quote ---
are you sure about that? I've also tried to define my braces this way:
#define WHATEVER }}
WHATEVER
and it worked.... also "BEGIN_MESSAGE_MAP" doesn't seem like it's ignored since that's were the braces come from...
Further more it knows that GetMessageMap and GetThisMessageMap are implemented at the "BEGIN_MESSAGE_MAP" macro.
So it's definitely the end that doesn't work at all. (uncommenting "BEGIN_*" also fixes the parser :P)


--- Quote from: ollydbg on March 06, 2014, 03:31:28 am ---[...]
The method you can do is to add one rule (manually replacement rule) in CC's setting dialog.

--- Code: ---BEGIN_EVENT_TABLE -> -END_EVENT_TABLE

--- End code ---
So, those blocks were ignored. I think the document of such option should be updated in Code Completion Design - CodeBlocks, currently it is wrong.
--- End quote ---
at least a work around in this case... thanks


--- Quote from: ollydbg on March 06, 2014, 03:31:28 am ---Also, if CC did try to expand every token, then it should work. See Huki's comments here: Re: X Macro. Your problem is much like the X Macro problem.
[...]
--- End quote ---
well... "Parse complex macros (needs more time)" is enabled :P Guess otherwise BEGIN_EVENT_TABLE wouldn't even be expanded... but END_EVENT_TABLE doesn't work and that is a bug.

zinat:
Trying to download build 9673 but the links doesn't seem to work.. any other way??

Alpha:

--- Quote from: zinat on May 19, 2014, 07:44:13 pm ---Trying to download build 9673 but the links doesn't seem to work.. any other way??

--- End quote ---
Do binaries from SourceForge work for you?

ollydbg:
@White-Tiger: Some further discussion about expansion the event macros, see here: Re: Several improvements to Code Completion plugin

Navigation

[0] Message Index

[*] Previous page

Go to full version