CDT and MSVS Express integration [message #1408188] |
Thu, 14 August 2014 13:01 |
Carl Slater 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
|
|
|
Powered by
FUDForum. Page generated in 0.03510 seconds