llvm-6502/include
Bill Wendling fbaa37937f 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
2008-05-17 09:10:40 +00:00
..
llvm On Darwin, the string header file isn't 64-bit clean. The use of 2008-05-17 09:10:40 +00:00
llvm-c Improve documentation. 2008-05-06 19:17:01 +00:00