Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » function reference not found(CTRL+SHIFT+G)(templated type issue??)
function reference not found(CTRL+SHIFT+G) [message #1229346] Thu, 09 January 2014 03:49
Reza Roboubi is currently offline Reza Roboubi
Messages: 2
Registered: January 2014
Junior Member
The program compiles without any warnings.

(CTRL+SHIFT+G) cannot find the reference to a (simple, non-template) global function.

I'm pretty sure the reason is:
.) The global function takes a float* as argument.
.) & x->comp(i) is passed as argument to the global function.
.) But because x has a templated type, CDT cannot _see_ that I'm passing the correct parameter type(float*) to the function.

Thanks in advance.
Previous Topic:Missing "Run" Menu/Toolbar
Next Topic:Kernel development configuration
Goto Forum:
  


Current Time: Sat Aug 23 01:41:16 EDT 2014

Powered by FUDForum. Page generated in 0.08498 seconds