diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-05-30 09:41:06 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-06-16 10:38:12 (GMT) |
commit | 14641095dbeafe155a1d1000c0f0f6ca77a70b2c (patch) | |
tree | 8b306e7642d20d1a92aeb00902dc55b9adef747f /tests/auto/qcoreapplication | |
parent | 0de22e80ac645afc3793419300d6271d95809196 (diff) | |
download | Qt-14641095dbeafe155a1d1000c0f0f6ca77a70b2c.zip Qt-14641095dbeafe155a1d1000c0f0f6ca77a70b2c.tar.gz Qt-14641095dbeafe155a1d1000c0f0f6ca77a70b2c.tar.bz2 |
clucene: Compile with clang's libc++
When using clang's libc++, the 'using namespace std;' in CLucene's
StdHeader.h causes ambiguity between wcschr() from wchar.h and
std::wcschr() from cwchar (which is automatically included by libc++).
The only symbols used from the std namespace are std::min() and
std::max() so only pull these in, not the whole std namespace.
Cherry-picked from qttools/bc35938d0d49b04bf98feda3e85da186ecc8184d.
Change-Id: Ife6647df795f59a5feebd5c1aa3eebe7446ec720
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/qcoreapplication')
0 files changed, 0 insertions, 0 deletions