Csound Csound-dev Csound-tekno Search About

[Csnd] Macro definition

Date2010-12-17 22:26
FromCOCHEDELAFERTE
Subject[Csnd] Macro definition
Hi all,


Trying to play with Csound5.12.1 an example file called strings_02 (orc and
sco) which worked fine for me (Solaris) with Csound5.11.1, i get this :

orch compiler:
Macro definition for LN2
Macro definition for LN10
Macro definition for PI
Macro definition for TWOPI
Macro definition for PIDIV2
Macro definition for SEMITONE

and so on, and finally :

Csound tidy up: Erreur de segmentation


These macros are defined in an include file like this :

/* some constants */

#define LN2 # 0.69314718 #
#define LN10 # 2.30258509 #
#define PI # 3.14159265 #
#define TWOPI # 6.28318531 #
#define PIDIV2 # 1.57079633 #
#define SEMITONE # 1.05946309 #

and so on.


What can happen between Csound5.11.1 and Csound5.12.1 (same machine, same
OS, same adaptations for Solaris) ?

Or i missed something in the Csound5.12.1 build about macros ? The rest of
my knowed files i tried with Csound5.12.1 looks good (mines and several
usual example files).


Greatings,

Sergio












 

Date2010-12-18 08:49
FromAndres Cabrera
Subject[Csnd] Re: Macro definition
Hi,
Are you building from source? If you are, try using the --old-parser flag, to see if it works. If it does, then it's a problem with the new parser.

Cheers,
Andres

On Fri, Dec 17, 2010 at 10:26 PM, COCHEDELAFERTE <Serge.Coche@free.fr> wrote:

Hi all,


Trying to play with Csound5.12.1 an example file called strings_02 (orc and
sco) which worked fine for me (Solaris) with Csound5.11.1, i get this :

orch compiler:
Macro definition for LN2
Macro definition for LN10
Macro definition for PI
Macro definition for TWOPI
Macro definition for PIDIV2
Macro definition for SEMITONE

and so on, and finally :

Csound tidy up: Erreur de segmentation


These macros are defined in an include file like this :

/* some constants */

#define LN2 # 0.69314718 #
#define LN10 # 2.30258509 #
#define PI # 3.14159265 #
#define TWOPI # 6.28318531 #
#define PIDIV2 # 1.57079633 #
#define SEMITONE # 1.05946309 #

and so on.


What can happen between Csound5.11.1 and Csound5.12.1 (same machine, same
OS, same adaptations for Solaris) ?

Or i missed something in the Csound5.12.1 build about macros ? The rest of
my knowed files i tried with Csound5.12.1 looks good (mines and several
usual example files).


Greatings,

Sergio













--
View this message in context: http://csound.1045644.n5.nabble.com/Macro-definition-tp3310048p3310048.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2010-12-18 23:21
FromCOCHEDELAFERTE
Subject[Csnd] Re: Macro definition
Hi Andres,


Thank's !

Yes, i'm building Csound under Solaris from source. I doesn't found how to
use explicitly the --old-parser flag, but i simply rebuilded all disabling
this time "with new parser" in my SConstruct, verified also that the
configuration decision was really without the new parser (and also with
"scons --help").

Unfortunately this changed nothing in my macro problem...


Cheers,

Sergio


Date2010-12-19 10:26
FromAndres Cabrera
Subject[Csnd] Re: Re: Macro definition
Hi,

Could you send the whole file?

Cheers,
Andres

On Sat, Dec 18, 2010 at 11:21 PM, COCHEDELAFERTE <Serge.Coche@free.fr> wrote:

Hi Andres,


Thank's !

Yes, i'm building Csound under Solaris from source. I doesn't found how to
use explicitly the --old-parser flag, but i simply rebuilded all disabling
this time "with new parser" in my SConstruct, verified also that the
configuration decision was really without the new parser (and also with
"scons --help").

Unfortunately this changed nothing in my macro problem...


Cheers,

Sergio



--
View this message in context: http://csound.1045644.n5.nabble.com/Macro-definition-tp3310048p3310839.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2010-12-19 18:48
FromCOCHEDELAFERTE
Subject[Csnd] Re: Re: Macro definition
Hi Andres,


Here are :

http://csound.1045644.n5.nabble.com/file/n3311324/strings_02.tar.bz2
strings_02.tar.bz2 


The main files are, of course, strings_02.orc and strings_02.sco. The others
are include files.


Cheers,

Sergio