Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT and MSVS Express integration(Resolving the unresolved functions)
CDT and MSVS Express integration [message #1408188] Thu, 14 August 2014 13:01
Carl Slater is currently offline Carl SlaterFriend
Messages: 3
Registered: July 2014
Junior Member
Greetings:

I need to use MSVS 2012 Express, and I want to use Eclipse Luna, with the parallel tools plugin. (brings in CDT and Photran).

I am trying to get the code indexer to work properly but there are a number of nagging issues. For example:


#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <math.h>
#include <iostream>

int main(void) {
double angle= 3.14159/4;
double tanAngle;

1-> printf("!!!Hello World!!!\n");
2-> tanAngle=tan(angle);
std::cout << "Tan of angle=" << tanAngle << "\n";
3-> std::cout << "bye\n";
return EXIT_SUCCESS;
}

1) Function 'printf' could not be resolved
2) Invalid arguments ' Candidates are: std::enable_if::type tan(#0) '
3) C2143: syntax error : missing ';' before 'std::cout'

I checked for unresolved includes and got: "Unresolved inclusions in DummyCpp (0 matches) ... so I think CDT is finding everything it needs.

And of course the code compiles and runs fine.

Is there a reference page to these issues I am missing? Should I start one, assuming I start to resolve these issues?

Regards
Carl


Previous Topic:Remove Unwanted Include Directories
Next Topic:Eclipse Indexer Removing My White Space While Typing
Goto Forum:
  


Current Time: Wed Oct 16 01:28:47 GMT 2024

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

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

Back to the top