Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:3512] widgets.cpp

Date2003-11-25 23:40
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3512] widgets.cpp
I modified this file to work with cygwin.

#include  added
fstream.h and strstream.h were changed to fstream and strstream.
If this has and adverse effect, I'll change it back.
I'm using gcc-3.3.1-3 as my compiler.

Date2003-11-26 00:00
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3514] Re: widgets.cpp
Ok, I'll change it for Cygwin then.
I'll put it back. No problem.
Bobby

-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of steven
Sent: Tuesday, November 25, 2003 6:13 PM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3513] Re: widgets.cpp


Hi Bobby,

I'm not sure if this is the optimal solution as I think the whole 
fstream vs fstream.h has to do with if using gcc3 vs gcc2.96, so those 
now with 2.96 will be out of luck versus those with 3.xx.  (That's what 
I'm remembering from a while ago at least...).

steven



Robert McNulty Junior wrote:

>I modified this file to work with cygwin.
>
>#include  added
>fstream.h and strstream.h were changed to fstream and strstream.
>If this has and adverse effect, I'll change it back.
>I'm using gcc-3.3.1-3 as my compiler.
>
>
>
>  
>

Date2003-11-26 00:13
Fromsteven
Subject[CSOUND-DEV:3513] Re: widgets.cpp
Hi Bobby,

I'm not sure if this is the optimal solution as I think the whole 
fstream vs fstream.h has to do with if using gcc3 vs gcc2.96, so those 
now with 2.96 will be out of luck versus those with 3.xx.  (That's what 
I'm remembering from a while ago at least...).

steven



Robert McNulty Junior wrote:

>I modified this file to work with cygwin.
>
>#include  added
>fstream.h and strstream.h were changed to fstream and strstream.
>If this has and adverse effect, I'll change it back.
>I'm using gcc-3.3.1-3 as my compiler.
>
>
>
>  
>

Date2003-11-26 00:15
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3515] Re: widgets.cpp
I changed widgets to work with old compilers as well as new.
Could you update and try it to verify, Steven?
I think I got the hang of this.
Bobby

-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of steven
Sent: Tuesday, November 25, 2003 6:13 PM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3513] Re: widgets.cpp


Hi Bobby,

I'm not sure if this is the optimal solution as I think the whole 
fstream vs fstream.h has to do with if using gcc3 vs gcc2.96, so those 
now with 2.96 will be out of luck versus those with 3.xx.  (That's what 
I'm remembering from a while ago at least...).

steven



Robert McNulty Junior wrote:

>I modified this file to work with cygwin.
>
>#include  added
>fstream.h and strstream.h were changed to fstream and strstream.
>If this has and adverse effect, I'll change it back.
>I'm using gcc-3.3.1-3 as my compiler.
>
>
>
>  
>

Date2003-11-26 01:51
Fromsteven
Subject[CSOUND-DEV:3519] Re: widgets.cpp
I can't verify for older compilers as I'm using gcc 3.3 as well. 

BTW: Are you using John R's autobuild system or Visual Studio?  I'm 
trying to use

autoreconf -i --force
aclocal
autoconf
configure
make

and get stopped at main.c due to SIGALRM not being defined. 

This is using Cygwin 3.3.1 on win2k. 

Looking at the change in widgets.cpp, it looks to look for cygwin but 
not what version.  This all should probably be done with the 
autoheader.h/config.h stuff to check if strstream.h or sstream.h exist, 
then #ifdef them in depending (same with fstream/fstream.h).

steven


Robert McNulty Junior wrote:

>I changed widgets to work with old compilers as well as new.
>Could you update and try it to verify, Steven?
>I think I got the hang of this.
>Bobby
>
>  
>

Date2003-11-26 01:53
From"Robert McNulty Junior"
Subject[CSOUND-DEV:3520] Re: widgets.cpp
I'm using John R's autobuild.
I have fltk on windows XP.
Let me take away those changes and get back with you.


-----Original Message-----
From: owner-csound-dev@eartha.mills.edu
[mailto:owner-csound-dev@eartha.mills.edu]On Behalf Of steven
Sent: Tuesday, November 25, 2003 7:52 PM
To: Csound Developers Discussion List
Subject: [CSOUND-DEV:3519] Re: widgets.cpp


I can't verify for older compilers as I'm using gcc 3.3 as well. 

BTW: Are you using John R's autobuild system or Visual Studio?  I'm 
trying to use

autoreconf -i --force
aclocal
autoconf
configure
make

and get stopped at main.c due to SIGALRM not being defined. 

This is using Cygwin 3.3.1 on win2k. 

Looking at the change in widgets.cpp, it looks to look for cygwin but 
not what version.  This all should probably be done with the 
autoheader.h/config.h stuff to check if strstream.h or sstream.h exist, 
then #ifdef them in depending (same with fstream/fstream.h).

steven


Robert McNulty Junior wrote:

>I changed widgets to work with old compilers as well as new.
>Could you update and try it to verify, Steven?
>I think I got the hang of this.
>Bobby
>
>  
>