Re: Project builds fine on i686 but warnings and a compilation error show up on x86_64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux