Hi to all.
The last KDevelop 4.3 has a problem to correctly detect the system
include path (used by the code parser)
I've found the problem and this is the patch (tested on my system
8.2). Is it possible to add this patch to devel/kdevelop-kde4 port?
The problem is that KDevelop asks the system's include path to gcc
using the -std=c++0x option, not compatible with gcc 4.2.2.
Best regards
Luca
diff --git languages/cpp/setuphelpers_gcc.cpp languages/cpp/setuphelpers_gcc.cpp
index 5b8fdda..c6d0eb3 100644
--- languages/cpp/setuphelpers_gcc.cpp
+++ languages/cpp/setuphelpers_gcc.cpp
@@ -59,7 +59,7 @@ QStringList gccSetupStandardIncludePaths()
// /usr/lib/gcc/i486-linux-gnu/4.1.2/include
// /usr/include
// End of search list.
- proc <<"gcc" << "-std=c++0x" <<"-xc++" <<"-E" <<"-v" <<NULL_DEVICE;
+ proc <<"gcc" <<"-xc++" <<"-E" <<"-v" <<NULL_DEVICE;
// We'll use the following constants to know what we're currently parsing.
const short parsingInitial = 0;
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information