Author |
Topic  |
|
sdore
New Member

5 Posts |
Posted - Sep 14 2010 : 7:09:05 PM
|
Here an exemple on how I use the BOOST
#define STATES_SEQ (Idle)(Movement)
#define DECLARE_STATE_ENUM(_r, _data, _stateName)\ BOOST_PP_CAT(State_,_stateName),
#define DECLARE_STATE_ENUMS_SEQ(_stateSeq)\ enum State\ {\ BOOST_PP_SEQ_FOR_EACH(DECLARE_STATE_ENUM,~,_stateSeq)\ State_Max\ };
DECLARE_STATE_ENUMS_SEQ(STATES_SEQ);
Visual Assist X doesn't recognized "State_Idle" and "State_Movement" but the compilation work.
Will you have a fix for that?
|
|
accord
Whole Tomato Software
    
United Kingdom
3287 Posts |
Posted - Sep 15 2010 : 03:58:42 AM
|
Recursive macro parsing is turned off by default. Can you please try if turning it on will help or not?
http://docs.wholetomato.com?W363 |
 |
|
sdore
New Member

5 Posts |
Posted - Sep 15 2010 : 11:26:12 AM
|
My version is 10.6.1827.0, I try all the way that was on your other topic and it still doesn't work.
I have only that problem when I use that function BOOST_PP_SEQ_FOR_EACH. Well If you know an other way to make Visual Assist reconized the symbol.
Thanks. |
 |
|
accord
Whole Tomato Software
    
United Kingdom
3287 Posts |
Posted - Sep 16 2010 : 2:59:21 PM
|
I was able to reproduce the problem and I believe that this is
case=729 (see next post)
Unfortunately I don't know any workaround for this problem. |
Edited by - accord on Sep 14 2012 06:44:06 AM |
 |
|
accord
Whole Tomato Software
    
United Kingdom
3287 Posts |
Posted - Sep 14 2012 : 06:43:14 AM
|
This is rather case 68797, it will appear as case 68797 in the history when it's fixed. |
Edited by - accord on Sep 14 2012 11:39:40 AM |
 |
|
accord
Whole Tomato Software
    
United Kingdom
3287 Posts |
Posted - Sep 14 2012 : 11:44:45 AM
|
After further investigation, I found that even my original conclusion was wrong, and the real problem is with BOOST_PP_SEQ_FOR_EACH. I have put in a bug report for this:
case=69313
I used new posts rather the edits for the updates on the off chance that "Subscribe to this topic" used, so emails would be sent.  |
 |
|
|
Topic  |
|