Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Macro function arguments
Macro function arguments [message #202489] Wed, 03 October 2007 15:19
Eclipse UserFriend
Originally posted by: deltastorm.gmail.com

#define TESTFUNC(a) (a+1)
int main()
{
int val = 0;
val = TESTFUNC(val);
return val;
}

I am having an issue where the indexer doesn't seem to be parsing the
arguments passed into a macro function. If I highlight "val" in
"TESTFUNC(val)" and press F3, I get "Selected text cannot be mapped to a
symbol name." This is with CDT 4.0.
Previous Topic:VS key bindings
Next Topic:Background colors
Goto Forum:
  


Current Time: Fri May 09 18:59:39 EDT 2025

Powered by FUDForum. Page generated in 0.03107 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top