Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3095] compiling csound5 on win2k with cygwin

Date2003-09-16 21:12
Fromsteven
Subject[CSOUND-DEV:3095] compiling csound5 on win2k with cygwin
Hi all,

In compiling csound5 with cygwin on win2k today, I got alot of warnings 
in redefining __cdecl.  I think the problem is in cs.h:

#if defined CWIN
#elif defined(mac_classic) || defined(SYMANTEC)
# define POLL_EVENTS() STasks()
# define __cdecl
#endif

#ifdef LINUX
# ifdef HAVE_FLTK
   extern int POLL_EVENTS(void);
# else
#  define POLL_EVENTS()     (1)
# endif
#endif

#if !defined(__BEOS__) || defined(__MWERKS__)
#  define __cdecl
#endif

my guess is that CWIN needs to be added as a check in the autoconf 
script, but wasn't sure if there was a better way or if anyone had other 
ideas.

thanks,
steven