Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] (repeat) failure on OSX

Date2005-05-02 19:09
FromVictor Lazzarini
SubjectRe: [Cs-dev] (repeat) failure on OSX
Doesn't fail here. I didn't compile with
HAVE_GCC3  (but I'd have thought scons would pick that
up I am using gcc 3.3).

Victor
>
> I am having total collapse on OSX.  The error message is
> that on line 583 on H/csoundCore.h there is a missing `{'
> after the `;'
>   That line looks innocuous, but error could be next line,
> which not being ANSI C I do not understand.
>
>     void (*RewindScore)(void *csound);
> <========line 583 #ifdef HAVE_GCC3
>     __attribute__ ((__format__ (__printf__, 2, 3)))
>       void (*Message)(void *csound, const char *format,
> ..); #else
>       void (*Message)(void *csound, const char *format,
> ..); #endif
>
> The system is OSX 10.2 with gcc 3.1
>
> Seems a complete stopper on the Mac.
>
> ==John ffitch
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4
> great events, 4 opportunities to win big! Highest score
> wins.NEC IT Guy Games. Play to win an NEC 61 plasma
> display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-05-02 20:33
FromIstvan Varga
SubjectRe: [Cs-dev] (repeat) failure on OSX
Victor Lazzarini wrote:

> Doesn't fail here. I didn't compile with
> HAVE_GCC3  (but I'd have thought scons would pick that
> up I am using gcc 3.3).

If you get a lot of nasty warnings like "cenviron is deprecated"
in some files, then HAVE_GCC3 is enabled. The presence of GCC 3.x
or newer is detected in H/sysdep.h:

#ifdef HAVE_GCC3
#undef HAVE_GCC3
#endif
#if (defined(__GNUC__) && (__GNUC__ >= 3))
#define HAVE_GCC3 1
#endif
#ifdef HAVE_C99
#undef HAVE_C99
#endif
#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))
#define HAVE_C99 1
#endif


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net