aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2011-10-18 08:58:16 +0000
committerHans Wennborg <hans@hanshq.net>2011-10-18 08:58:16 +0000
commit4886e32e1f0bc778a47d23ac88a9c72f2c6305b0 (patch)
tree4d16b1d471583a28adaad466c9719722edf6b288 /lib/Basic/Targets.cpp
parenta7da2155167676a6a5d9fca4de947a9cab2a4908 (diff)
Disable the ssize_t test in format-strings-fixit.c.
Turns out this part of the test from r142342 wasn't portable. The errors on the bots look like this: E:\bb-win7\cmake-clang-i686-msys\build\tools\clang\test\Sema\Output\format-strings-fixit.c.tmp:58:13: error: conversion specifies type 'unsigned int' but the argument has type 'ssize_t' (aka 'long') printf("%zd", (ssize_t) 42); ~~^ ~~~~~~~~~~~~ %zd Obviously we can't typedef ssize_t to someting that doesn't have the same size as size_t and expect it to work. But it's also weird that the format string "%zd" gets interpreted as "unsigned int" when it should clearly be signed. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions