commit | fbaa37937f58a8fcd32e4c6f0dce8773d7be9837 | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Sat May 17 09:10:40 2008 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Sat May 17 09:10:40 2008 +0000 |
tree | f3f216dd40265823fcce4396848626b9af5f7ac4 | |
parent | 6cccce3e58009c92876651877a9a7a19e78b89e8 [diff] |
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