-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: legacy-0.0-26compat-2.6.5
-
Component/s: Build
Using the clang 3.5 compiler, the following warning is issued during compilation of the 26compat branch.
While this may not be of immediate concern, it seems odd enough to report.
clang++ -O3 -g -std=c+11 -stdlib=libc+ -I ../libs/ami/include -emit-llvm -c
In file included from ../libs/ami/include/mongo/client/dbclient.h:40:
In file included from ../libs/ami/include/mongo/client/connpool.h:22:
In file included from ../libs/ami/include/mongo/client/dbclientinterface.h:1374:
../libs/ami/include/mongo/client/dbclientcursor.h:120:40: warning: 'this' pointer cannot be null in well-defined C++ code; pointer may be
assumed to always convert to true [-Wundefined-bool-conversion]
bool isDead() const
^~~
1 warning generated.
- duplicates
-
CXX-339 Backport server r2.7.6..r2.7.7 changes
- Closed