Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] interfaces lib building in windows with MSVC

Date2005-10-28 15:53
FromVictor Lazzarini
SubjectRe: [Cs-dev] interfaces lib building in windows with MSVC
long?

Victor
At 15:24 28/10/2005, you wrote:
>Can we change long long to some type that is available by default on all 
>our 3 platforms?
>
>Regards,
>Mike
>
>-----Original Message-----
>From: Victor Lazzarini 
>Sent: Oct 28, 2005 9:26 AM
>To: csound-devel@lists.sourceforge.net
>Subject: Re: [Cs-dev] interfaces lib building in windows with MSVC
>
>How do you actually define long long as __int64 (the MSVC type)?
>I never did this in fact; but of course
>#define long long __int64
>won't work
>and
>typedef __int64 long long;
>neither.
>
>Victor
>At 13:24 28/10/2005, you wrote:
> >Victor Lazzarini wrote:
> >
> >>Yes, but that needs to be done in the interface file, so that
> >>it generates a source with ifdefs, otherwise we will have to be
> >>editing sources everytime a new build is made. I don't know
> >>much about interface files, so if someone who knows about it
> >>can do, I'd be very thankful.
> >
> >Actually, you can use #ifdef in the .i file. There is a minor error
> >in SConstruct that results in the defines not being passed to SWIG,
> >but I fixed that.
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by the JBoss Inc.
> >Get Certified Today * Register for a JBoss Training Course
> >Free Certification Exam for All Training Attendees Through End of 2005
> >Visit http://www.jboss.com/services/certification for more information
> >_______________________________________________
> >Csound-devel mailing list
> >Csound-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>Victor Lazzarini
>Music Technology Laboratory
>Music Department
>National University of Ireland, Maynooth
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by the JBoss Inc.
>Get Certified Today * Register for a JBoss Training Course
>Free Certification Exam for All Training Attendees Through End of 2005
>Visit http://www.jboss.com/services/certification for more information
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by the JBoss Inc.
>Get Certified Today * Register for a JBoss Training Course
>Free Certification Exam for All Training Attendees Through End of 2005
>Visit http://www.jboss.com/services/certification for more information
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-10-28 16:01
FromIstvan Varga
SubjectRe: [Cs-dev] interfaces lib building in windows with MSVC
Victor Lazzarini wrote:

> long?

That is not useful, as long may have insufficient range for storing
all possible values of a 32 bit unsigned integer. I already added an
#ifdef to the interface file, so long long will not be used with MSVC,
but a few non-critical functions (that is, the random number generator)
may not work correctly.


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net