https://llvm.org/bugs/show_bug.cgi?id=26455
Bug ID: 26455 Summary: no warning about implicit integer to pointer conversions on x86_64 Product: clang Version: unspecified Hardware: Macintosh OS: MacOS X Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: knut.loren...@degree53.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified I noticed the [CLANG_WARN_INT_CONVERSION, -Wint-conversion] produces a warning when implicitly converting a pointer into an integer for the ARM architectures, but not for x86. steps to reproduce: - in Xcode, create a project for iOS - add an ObjC method that has a BOOL as return type, but returns a pointer in the implementation - build for armv7/arm64 (generic iOS device) - will produce a warning - build for x86_64 (iOS simulator) - no warning! Apple LLVM version 7.0.2 (clang-700.1.81) Xcode 7.2.1 OS X 10.11 El Capitan -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs