Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4416] Re: Cannot build again

Date2004-03-29 16:50
From"gogins@pipeline.com"
Subject[CSOUND-DEV:4416] Re: Cannot build again
I changed it because I thought the same problem would occur with mingw, 
which uses gcc but is not cygwin. I think you should change it back and we 
can deal with mingw later. 
 
Original Message: 
----------------- 
From: stevenyi stevenyi@csounds.com 
Date: Mon, 29 Mar 2004 07:40:28 -0800 
To: csound-dev@eartha.mills.edu 
Subject: [CSOUND-DEV:4415] Re: Cannot build again 
 
 
Hi John, 
 
This is the same thing I got that has to do with __cdecl in that file.  
I ended up just removing the two places where __cdecl is in that file, 
but it looks like it should fixed up in H/csoundCore.h. 
 
I did a diff between the latest version of H/csoundCore.h and the 
previous version and found this difference: 
 
#if (!defined(__BEOS__) || defined(__MWERKS__)) && !defined(__CYGWIN__) 
#  define __cdecl 
#endif 
 
became: 
 
#if (!defined(__BEOS__) || defined(__MWERKS__)) && !defined(__GNUC__) 
#  define __cdecl 
#endif 
 
I'm assuming this is what created the errors with widgets.cpp.  This 
latest version was checked in my Michael; any reasons for changing the 
check for __CYGWIN__ to __GNUC__ ? 
 
steven 
 
 
On Mon, 2004-03-29 at 04:05, jpff@codemist.co.uk wrote: 
> This one looks more like serious oddity (immediately after cvs update; 
scons) 
> ==John ffitch 
>  
> g++ -DCSOUND_WITH_API -DLINUX -g -O2 -Wall -DPIPES -DHAVE_FCNTL_H 
-DHAVE_UNISTD_H -DHAVE_MALLOC_H -DHAVE_SGTTY_H -DHAVE_SYS_IOCTL_H 
-DHAVE_SYS_TIME_H -DHAVE_TERMIOS_H -DHAVE_STRING_H -DHAVE_STRINGS_H 
-DHAVE_DIRENT_H -DRTAUDIO -DWINDOWS -DUSE_FLTK -DBETA -I. -IH -I/usr/local/
include -I/usr/include -c -o InOut/widgets.o InOut/widgets.cpp 
> InOut/widgets.cpp:1710: syntax error before `(' 
> InOut/widgets.cpp:1716: syntax error before `.' 
> InOut/widgets.cpp:1717: syntax error before `.' 
> InOut/widgets.cpp:1717: syntax error before `.' 
> InOut/widgets.cpp:1718: ISO C++ forbids declaration of `setitimer' with  
> no type 
> InOut/widgets.cpp:1718: `int setitimer' redeclared as different kind of  
> symbol 
> /usr/include/sys/time.h:133: previous declaration of `int setitimer  
> (int, const itimerval *, itimerval *)' 
> InOut/widgets.cpp:1718: initializer list being treated as compound  
> expression 
> InOut/widgets.cpp:1718: warning: initialization to non-pointer type  
> `int' from NULL 
> InOut/widgets.cpp:1718: warning: argument to non-pointer type `int'  
> from NULL 
> InOut/widgets.cpp:1720: parse error before `for' 
> InOut/widgets.cpp:1720: parse error before `;' 
> InOut/widgets.cpp:1720: syntax error before `++' 
> InOut/widgets.cpp:1726: ISO C++ forbids declaration of `run' with no  
> type 
>  
>  

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .