Skip to main content

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 RoboubiFriend
Messages: 3
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:make: *** [main.o] Error 1
Next Topic:Kernel development configuration
Goto Forum:

Current Time: Mon Jun 18 00:38:26 GMT 2018

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

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

Back to the top