Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 VA Outline broken on function macros w/2 args

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
tiancovici Posted - Jul 04 2020 : 10:54:11 AM
VA Outline breaks on function macros with more than one macro

Issue occurs on Build 2382, not on Build 2375






MACRO is from CppUTest Framework
https://cpputest.github.io/







#define TEST(testGroup, testName) /* External declarations for strict compilers */ class TEST_##testGroup##_##testName##_TestShell; extern TEST_##testGroup##_##testName##_TestShell TEST_##testGroup##_##testName##_TestShell_instance; class TEST_##testGroup##_##testName##_Test : public TEST_GROUP_##CppUTestGroup##testGroup { public: TEST_##testGroup##_##testName##_Test () : TEST_GROUP_##CppUTestGroup##testGroup () {} void testBody(); }; class TEST_##testGroup##_##testName##_TestShell : public UtestShell { virtual Utest* createTest() _override { return new TEST_##testGroup##_##testName##_Test; } } TEST_##testGroup##_##testName##_TestShell_instance; static TestInstaller TEST_##testGroup##_##testName##_Installer(TEST_##testGroup##_##testName##_TestShell_instance, #testGroup, #testName, __FILE__,__LINE__); void TEST_##testGroup##_##testName##_Test::testBody()
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 04 2020 : 11:16:12 AM
The macro on its own does not trigger any problems here.

Can you post, or email me some test code, I assume code using the macro, that triggers this problem?

If email is better please send me the files via email:

[email protected]

including this thread ID or URL in the description, so we can match it up.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000