Symbol 'std' could not be resolved Issue [message #1790350] |
Fri, 08 June 2018 09:40  |
Eclipse User |
|
|
|
CDT parser is showing the following error for a c++ code
Symbol 'std' could not be resolved Issue
I know using namespace is not very good coding practice from what I read
in the forums but I am importing code files other people have written into eclipse and I cannot change what they have coded which is why I am stuck trying to resolve this issue.
#include <iostream>
using namespace std;
int main()
{
return 0;
}
I have installed MINGW32 and configured all includes and Paths as best as I know.
MINGW/lib/gcc/mingw32/6.3.0/include/c++ is in the path.
I tried adding -std=c++11 to compiler options but that did not do anything
I tried closing project and reopening as well as deleting the error in the Problems view as well as Rebuild/Freshen/Update.
My eclipse version is
Eclipse IDE for C/C++ Developers
Version: Oxygen.3a Release (4.7.3a)
Build id: 20180405-1200
I am at a loss how to resolve this.
Any help as to why the CDT parser cannot resolve this would be highly appreciated. Thanks,
Amish
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03866 seconds