Helping the indexer [message #1716987] |
Wed, 09 December 2015 08:21  |
Eclipse User |
|
|
|
Hello, the indexer is marking a lot of errors which are not a problem for the
compiling makefile.
The only info I get from eclipse is;
'string' is ambiguous '
Candidates are:
'
Added std to make it std::string, but that didn't help either.
If some variable is ambiguous, it should at least tell us, what are the
choices eclipse is having inside.
Right now, a lot of the source code is marked as an error, but it
shouldn't be like that.
A half year back in time (don't know exactly when) it didn't have any
errors. Compilers have changed, some new eclipse version, but right
now (and some months back) I don't know how to get rid of it.
Any advice?
Tnx Thomas
|
|
|
|
|
|
Re: Helping the indexer [message #1717069 is a reply to message #1717061] |
Wed, 09 December 2015 14:15   |
Eclipse User |
|
|
|
I am getting about the same output.
g++ --version provides
g++ (Debian 5.3.1-3) 5.3.1 20151207

As far as I can remember I have compiled everything again after debian unstable switched to new C++ Api.
Will need to look into that again tomorrow ...
compiling no.cpp gives:
Using built-in specs.
COLLECT_GCC=g++
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 5.3.1-3' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 5.3.1 20151207 (Debian 5.3.1-3)
COLLECT_GCC_OPTIONS='-E' '-P' '-v' '-dD' '-std=c++11' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -E -quiet -v -P -imultiarch x86_64-linux-gnu -D_GNU_SOURCE no.cpp -mtune=generic -march=x86-64 -std=c++11 -dD
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/5"
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/5/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/include/c++/5
/usr/include/x86_64-linux-gnu/c++/5
/usr/include/c++/5/backward
/usr/lib/gcc/x86_64-linux-gnu/5/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
#define __STDC__ 1
#define __cplusplus 201103L
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.28736 seconds