[ardour-users] compile errors with FC4 x86_64

Paul Davis paul at linuxaudiosystems.com
Tue Sep 6 04:04:28 PDT 2005


On Tue, 2005-09-06 at 01:44 -0400, Michael Stein wrote:
> I am running RedHat Fedora FC4 and I am getting the following error 
> while compiling ardour...
> Gtk::Paned*)':
> gtk_ardour/utils.cc:466: error: cast from 'void*' to 'gint' loses precision
> gtk_ardour/utils.cc:478: error: cast from 'void*' to 'int' loses precision
> scons: *** [gtk_ardour/utils.o] Error 1
> scons: building terminated because of errors.
> 
> Does anyone have any idea why this could be failing.  It is being 
> compiled for the x86_64 arch.  This source was grabbed out of CVS on 
> Sept. 6, 2005

are sure this is from CVS? there is already one fix in CVS for this,
which turned out not to be a fix, plus another one coming. if you want
to fix it by hand, and you understand C/C++, change the casts on those
lines from gint/int to gint64.

--p





More information about the Ardour-Users mailing list