summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/include/bits/fstream.tcc
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-21 15:59:18 +0000
committerdim <dim@FreeBSD.org>2011-12-21 15:59:18 +0000
commitd9a69f25c9869a21e66cdf209e22ffb23d12a35f (patch)
treef3a6788e4c15959c2ff13c7b8231946bc1c3bb17 /contrib/libstdc++/include/bits/fstream.tcc
parentddda7a76813bc31bfd63d1553e8948e19dbd07c6 (diff)
downloadFreeBSD-src-d9a69f25c9869a21e66cdf209e22ffb23d12a35f.zip
FreeBSD-src-d9a69f25c9869a21e66cdf209e22ffb23d12a35f.tar.gz
Start selectively disabling a few kernel build warnings for clang, since
there are some places in the kernel where fixing them is too disruptive, or where there is a false positive. In this case, disable -Wconstant-conversion for two aic7xxx-related files, as they get the following warning on i386 (and possibly on other 32-bit arches): sys/dev/aic7xxx/ahc_pci.c:112:10: warning: implicit conversion from 'long long' to 'bus_addr_t' (aka 'unsigned int') changes value from 549755813887 to 4294967295 [-Wconstant-conversion] ? 0x7FFFFFFFFFLL ~~^~~~~~~~~~~~~~ This is a false positive, since the code only passes the 0x7FFFFFFFFFLL argument, if sizeof(bus_addr_t) is larger than 4 (e.g. on 64 bit arches, or when PAE is enabled on i386). The code could be refactored to do compile-time checks, but that is more disruptive. MFC after: 1 week
Diffstat (limited to 'contrib/libstdc++/include/bits/fstream.tcc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud