[cfe-dev] Clang::SemaCXX/reinterpret-cast.cpp failing

Ahmed Charles ahmedcharles at gmail.com
Sat Nov 21 22:38:19 PST 2009


I agree, it doesn't fail on linux for me either, but I would expect long to
be 32bits rather than 64, so the warnings below make sense.

Sorry that I didn't send the output:

********************
FAIL: Clang::SemaCXX/reinterpret-cast.cpp (1409 of 1787)
******************** TEST 'Clang::SemaCXX/reinterpret-cast.cpp' FAILED
********************
Script:
--
D:/acharles/llvm/x64-build/bin/Debug/clang-cc.exe -fsyntax-only -verify
D:\acharles\llvm\src\tools\clang\test\SemaCXX\reinterpret-cast.cpp
--
Exit Code: 1
Command Output (stdout):
--
Command 0: "D:/acharles/llvm/x64-build/bin/Debug/clang-cc.exe"
"-fsyntax-only" "-verify"
"D:\acharles\llvm\src\tools\clang\test\SemaCXX\reinterpret-cast.cpp"
Command 0 Result: 1
Command 0 Output:


Command 0 Stderr:
error: 'error' diagnostics seen but not expected:
  Line 23: cast from pointer to smaller type 'long' loses information
  Line 27: cast from pointer to smaller type 'long' loses information
14 diagnostics generated.


--
Command Output (stderr):
--
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091121/b62681a4/attachment.html>


More information about the cfe-dev mailing list