cpp preprocessor: do not crash when dividing -2**63 by -1

The result of this operation can't be represented in a long, and thus
triggers a crash (yay for C++).
I think this is a special case, or are there more similar problems?

File reproducing the issue:
https://chromium.googlesource.com/native_client/nacl-toolchain/+/gcc-4.5.0/gcc/gcc/testsuite/gcc.dg/cpp/arith-3.c
Merge branch '4.6'
Fix threading issue in CppUtils::findIncludePaths.

Add an eventloop roundtrip to properly call IncludePathComputer's
computeForeground from the foreground thread.

A proper fix would be far too time consuming, esp. considering that
this will eventually be reimplemented properly for kdev-clang.
fix compile with clang
Fix gdb version detection.

Whether I don't get regexp's at all, or it was really a weird (and even
broken) way to check the gdb version.

BUG: 334114
CMakeBuildDirChooser: Set 'OK' as default button

Respect KDE HIG.
Fix gdb version detection.

Whether I don't get regexp's at all, or it was really a weird (and even
broken) way to check the gdb version.

BUG: 334114
FIXED-IN: 4.6.1
Merge remote-tracking branch 'origin/4.6'
Merge remote-tracking branch 'origin/master' into frameworks

Conflicts:
	debuggers/gdb/debugsession.cpp