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.<br><br>Sorry that I didn't send the output:<br><br>********************<br>FAIL: Clang::SemaCXX/reinterpret-cast.cpp (1409 of 1787)<br>
******************** TEST 'Clang::SemaCXX/reinterpret-cast.cpp' FAILED ********************<br>Script:<br>--<br>D:/acharles/llvm/x64-build/bin/Debug/clang-cc.exe -fsyntax-only -verify D:\acharles\llvm\src\tools\clang\test\SemaCXX\reinterpret-cast.cpp<br>
--<br>Exit Code: 1<br>Command Output (stdout):<br>--<br>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"<br>
Command 0 Result: 1<br>Command 0 Output:<br><br><br>Command 0 Stderr:<br>error: 'error' diagnostics seen but not expected:<br>  Line 23: cast from pointer to smaller type 'long' loses information<br>  Line 27: cast from pointer to smaller type 'long' loses information<br>
14 diagnostics generated.<br><br><br>--<br>Command Output (stderr):<br>--<br>--<br><br>