diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-05-17 09:10:40 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-05-17 09:10:40 +0000 |
commit | 942d2d19066e8f92a8c3951d10182d0665884be0 (patch) | |
tree | f3f216dd40265823fcce4396848626b9af5f7ac4 /docs/img | |
parent | ac7712b3ddedb94f620f7e83f629dcb5db679294 (diff) | |
download | external_llvm-942d2d19066e8f92a8c3951d10182d0665884be0.zip external_llvm-942d2d19066e8f92a8c3951d10182d0665884be0.tar.gz external_llvm-942d2d19066e8f92a8c3951d10182d0665884be0.tar.bz2 |
On Darwin, the string header file isn't 64-bit clean. The use of
"-Wshorten-64-to-32 -Werror" will cause a failure when compiling this complex
program:
#include <string>
class Path {
mutable std::string path;
public:
bool operator == (const Path &that) {
return path == that.path;
}
};
Using strcmp gets us past this annoying error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51218 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/img')
0 files changed, 0 insertions, 0 deletions