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 | d70febc73b10426df761309cdc7454cb33391e20 (patch) | |
| tree | 8fc25f6222a0d89d39aa66b46db737b011ba9b16 /clang/lib/CodeGen | |
| parent | 79d681dddddcf4c8fba7c336243ef5a8e0b9e103 (diff) | |
| download | bcm5719-llvm-d70febc73b10426df761309cdc7454cb33391e20.tar.gz bcm5719-llvm-d70febc73b10426df761309cdc7454cb33391e20.zip | |
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.
llvm-svn: 51218
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions

