Bug #18559 2012-04-13 10:31

scarphin

CC doesn't work on function arguments

CC doesn't work on function arguments unless they are declared in the function declaration. Example below.

#include <iostream>

using namespace std;

void testFunction(int* somePtr, int otherName=0);

int main()

{

int *ptrToInt;

testFunction(ptrToInt);

return 0;

}

void testFunction(int* iPtr, int param)

{

iPtr; // CC doesn't work with 'iPtr'!

somePtr; // But it works with 'somePtr'!

cout<< "Test";

}

Category
Plugin::CodeCompletion
Group
Platform:Windows
Status
Closed
Close date
2013-03-01 03:07
Assigned to
ollydbg
ollydbg 2012-04-13 12:33
ollydbg 2013-03-01 03:07

This bug is now fixed in HEAD.

Thank you for reporting it.