[llvm-commits] [PATCH] Object File Library

Bill Wendling wendling at apple.com
Sat Dec 18 22:00:12 PST 2010


Hi Michael,

Please make these warnings go away:

In file included from /Users/void/llvm/llvm.src/lib/Support/Path.cpp:285:
/Users/void/llvm/llvm.src/lib/Support/Unix/Path.inc:123:7: warning: 'isAbsolute' is deprecated: PathV1 has been
      deprecated and will be removed as soon as all LLVM and Clang clients have been moved over to PathV2. Please
      use `path::is_absolute` from PathV2 instead. [-Wdeprecated-declarations]
  if (isAbsolute())
      ^
/Users/void/llvm/llvm.src/lib/Support/Unix/Path.inc:127:3: warning: 'isAbsolute' is deprecated: PathV1 has been
      deprecated and will be removed as soon as all LLVM and Clang clients have been moved over to PathV2. Please
      use `path::is_absolute` from PathV2 instead. [-Wdeprecated-declarations]
  assert(CWD.isAbsolute() && "GetCurrentDirectory returned relative path!");
  ^
/Users/void/llvm/llvm.src/lib/Support/Unix/Path.inc:127:14: note: instantiated from:
  assert(CWD.isAbsolute() && "GetCurrentDirectory returned relative path!");
             ^

-bw





More information about the llvm-commits mailing list