<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - no warning about implicit integer to pointer conversions on x86_64"
   href="https://llvm.org/bugs/show_bug.cgi?id=26455">26455</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>no warning about implicit integer to pointer conversions on x86_64
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>knut.lorenzen@degree53.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>