[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Project builds fine on i686 but warnings and a compilation error sho
From: |
Eric Blake |
Subject: |
Re: Project builds fine on i686 but warnings and a compilation error show up on x86_64 |
Date: |
Mon, 11 Jun 2012 07:06:38 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
On 06/10/2012 02:37 PM, Juan A. Rubio wrote:
> Hi,
>
> I'm building a project of mine using autotools and I'm trying to figure out
> a problem that recently came up. My project has been building correctly for
> over a year under a number of i686 Ubuntu-based desktop platforms (various
> ubuntu releases, 10.04 through to 12.04 on i686 desktops and laptops).
>
> Recently I've been trying to build the same project under a x86_64 Ubuntu
> Server-based system, and under this system the build fails. In addition to
> the build failure, I've noticed the following warning showing up a number
> of times in different places during the compilation. This warning which
> never shows up when building the same project on the i686 systems.
>
> warning: cast to pointer from integer of different size
> [-Wint-to-pointer-cast]
Most likely, this is a bug in your C code, and not in autoconf. But
without posting the actual code in question that triggers the warning,
we can't read your mind to tell you how your code is non-portable, even
if this were the right list.
--
Eric Blake address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature