Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Swig 1.3.31 insufficient

Date2007-01-10 22:05
FromMichael Gogins
SubjectRe: [Cs-dev] Swig 1.3.31 insufficient
Thank you for the 64 bit reminder, I will fix this ASAP.

Regards,
Mike

-----Original Message-----
>From: Erik de Castro Lopo 
>Sent: Jan 10, 2007 3:36 PM
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] Swig 1.3.31 insufficient
>
>John ffitch wrote:
>
>> next problem is
>> 
>> frontends/CsoundVST/CsoundVST.cpp: In member function 'virtual int CsoundVST::perform()':
>> frontends/CsoundVST/CsoundVST.cpp:342: error: cast from 'void*' to 'int' loses precision
>> scons: *** [frontends/CsoundVST/CsoundVST.os] Error 1
>
>The above is a disaster waiting to happen on 64 bit systems. On many
>64 bit systems, sizeof (void*) == 8 and sizeof (int) == 4 which means
>that casting from void* to int is a lossy operation.
>
>Erik
>-- 
>+-----------------------------------------------------------+
>  Erik de Castro Lopo
>+-----------------------------------------------------------+
>"TURKEY'S public television TRT, controlled by the Islamist-rooted government,
>has barred the popular Walt Disney cartoon Winnie the Pooh from air because
>it has a piglet as one of its main heroes"
>-- http://www.news.com.au/story/0,10117,19503274-1702,00.html
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys - and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net