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 08: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 Oct 25 10:29:54 GMT 2014

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

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