Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4375] Re: Getting in step

Date2004-03-18 20:15
From"gogins@pipeline.com"
Subject[CSOUND-DEV:4375] Re: Getting in step
As I said before, I'm glad to hear it. 

So what happened with the utility files that I had booked in? They were
overwritten when I updated from CVS. 

Is this similar to what you were complaining about? Or did you revert these
files because they didn't work with your build system, i.e. did you merge
away my changes because they weren't consistent with your work?

Original Message:
-----------------
From:  jpff@cs.bath.ac.uk
Date: Thu, 18 Mar 2004 19:18:55 +0000
To: csound-dev@eartha.mills.edu, csound-dev@ella.mills.edu
Subject: [CSOUND-DEV:4373] Re: Getting in step


>>>>> "Michael" == Michael Gogins  writes:

 Michael> This is what John is not doing, since he is not keeping his own
sources in
 Michael> CVS.

 Not true

==John ffitch


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

Date2004-03-18 23:54
Fromsteven yi
Subject[CSOUND-DEV:4376] -mno-cygwin
Hi all,

So I reinstalled cygwin and still have the same issues with 
widgets.cpp.  I've included the error message below.  I get the same 
error if I move the include directories around.  If anyone has any ideas 
it'd be very much appreciated.

Thanks,
steven



g++ -DCSOUND_WITH_API -g -O2 -Wall -D_WIN32 -DWIN32 -DHAVE_STRING_H 
-DPIPES -mno
-cygwin -DHAVE_IO_H -DHAVE_FCNTL_H -DHAVE_UNISTED_H -DHAVE_MALLOC_H 
-DHAVE_SYS_I
OCTL_H -DHAVE_SYS_TIME_H -DHAVE_TERMIOS_H -DHAVE_STRING_H 
-DHAVE_STRINGS_H -DRTA
UDIO -DWINDOWS -DUSE_FLTK -fno-exceptions -fno-rtti -DBETA -mno-cygwin 
-I. -IH -
I/usr/local/include -I/usr/include -c -o InOut/widgets.o InOut/widgets.cpp
InOut/widgets.cpp:28: warning: ignoring #pragma warning
In file included from /usr/include/w32api/windows.h:98,
                 from InOut/widgets.cpp:36:
/usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and 
associated ma
cros have been defined in sys/types.      This may cause runtime 
problems with W
32 sockets"
In file included from /usr/include/c++/3.3.1/bits/stl_algobase.h:67,
                 from /usr/include/c++/3.3.1/vector:67,
                 from InOut/widgets.cpp:73:
/usr/include/c++/3.3.1/cstdlib:177: error: `strtold' not declared
/usr/include/c++/3.3.1/cstdlib:196: error: `strtold' not declared
In file included from /usr/include/c++/3.3.1/backward/strstream:51,
                 from InOut/widgets.cpp:76:
/usr/include/c++/3.3.1/backward/backward_warning.h:32:2: warning: 
#warning This
file includes at least one deprecated or antiquated header. Please 
consider usin
g one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples
include substituting the  header for the  header for C++ 
includes, or  instead of the deprecated header . To disable this 
warning
use -Wno-deprecated.
In file included from /usr/include/c++/3.3.1/bits/locale_facets.h:166,
                 from /usr/include/c++/3.3.1/bits/basic_ios.h:44,
                 from /usr/include/c++/3.3.1/ios:51,
                 from /usr/include/c++/3.3.1/backward/strstream:53,
                 from InOut/widgets.cpp:76:
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:44: error: `_UPPER'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:45: error: `_LOWER'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:46: error: `_ALPHA'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:47: error: `_DIGIT'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:48: error: 
`_HEX' was
   not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:49: error: `_SPACE'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_BLANK'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_PUNCT'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_ALPHA'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:50: error: `_DIGIT'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:51: error: `_PUNCT'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:51: error: `_ALPHA'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:51: error: `_DIGIT'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:52: error: 
`_CONTROL'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:53: error: `_PUNCT'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:54: error: `_ALPHA'
   was not declared in this scope
/usr/include/c++/3.3.1/i686-pc-mingw32/bits/ctype_base.h:54: error: `_DIGIT'
   was not declared in this scope
In file included from /usr/include/c++/3.3.1/bits/locale_facets.tcc:41,
                 from /usr/include/c++/3.3.1/locale:47,
                 from /usr/include/c++/3.3.1/bits/istream.tcc:37,
                 from /usr/include/c++/3.3.1/istream:768,
                 from /usr/include/c++/3.3.1/backward/strstream:54,
                 from InOut/widgets.cpp:76:
/usr/include/c++/3.3.1/cmath: In function `long double std::acos(long 
double)':
/usr/include/c++/3.3.1/cmath:194: error: `::acosl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::asin(long 
double)':
/usr/include/c++/3.3.1/cmath:212: error: `::asinl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::atan(long 
double)':
/usr/include/c++/3.3.1/cmath:230: error: `::atanl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::atan2(long 
double,
   long double)':
/usr/include/c++/3.3.1/cmath:249: error: `::atan2l' undeclared (first 
use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::ceil(long 
double)':
/usr/include/c++/3.3.1/cmath:268: error: `::ceill' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::cosh(long 
double)':
/usr/include/c++/3.3.1/cmath:296: error: `::coshl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::exp(long 
double)':
/usr/include/c++/3.3.1/cmath:314: error: `::expl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::floor(long 
double)
   ':
/usr/include/c++/3.3.1/cmath:342: error: `::floorl' undeclared (first 
use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::fmod(long 
double,
   long double)':
/usr/include/c++/3.3.1/cmath:361: error: `::fmodl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::frexp(long 
double,
   int*)':
/usr/include/c++/3.3.1/cmath:380: error: `::frexpl' undeclared (first 
use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::ldexp(long 
double,
   int)':
/usr/include/c++/3.3.1/cmath:400: error: `::ldexpl' undeclared (first 
use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::log(long 
double)':
/usr/include/c++/3.3.1/cmath:419: error: `::logl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::log10(long 
double)
   ':
/usr/include/c++/3.3.1/cmath:437: error: `::log10l' undeclared (first 
use here)
/usr/include/c++/3.3.1/cmath: In function `long double std::modf(long 
double,
   long double*)':
/usr/include/c++/3.3.1/cmath:461: error: `::modfl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::pow(long double,
   long double)':
/usr/include/c++/3.3.1/cmath:495: error: `::powl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::sinh(long 
double)':
/usr/include/c++/3.3.1/cmath:536: error: `::sinhl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::tan(long 
double)':
/usr/include/c++/3.3.1/cmath:564: error: `::tanl' undeclared (first use 
here)
/usr/include/c++/3.3.1/cmath: In function `long double std::tanh(long 
double)':
/usr/include/c++/3.3.1/cmath:582: error: `::tanhl' undeclared (first use 
here)
In file included from H/cs.h:34,
                 from InOut/widgets.cpp:82:
H/csoundCore.h:763:1: warning: "__cdecl" redefined
:67:1: warning: this is the location of the previous definition
InOut/widgets.cpp: In function `void save_snap(FLSAVESNAPS*)':
InOut/widgets.cpp:1508: error: variable `std::fstream file' has 
initializer but

   incomplete type
InOut/widgets.cpp: In function `void load_snap(FLLOADSNAPS*)':
InOut/widgets.cpp:1558: error: variable `std::fstream file' has 
initializer but

   incomplete type
InOut/widgets.cpp: At global scope:
InOut/widgets.cpp:3441: error: syntax error at end of input
scons: *** [InOut/widgets.o] Error 1
scons: building terminated because of errors.

Date2004-03-19 00:17
FromRichard Dobson
Subject[CSOUND-DEV:4377] Re: -mno-cygwin
er, rewrite it in C?

Or, I can understand -DHAVE_UNISTD_H, but what is -DHAVE_UNISTED_H ?


Richard Dobson

steven yi wrote:
> Hi all,
> 
> So I reinstalled cygwin and still have the same issues with 
> widgets.cpp.  I've included the error message below.  I get the same 
> error if I move the include directories around.  If anyone has any ideas 
> it'd be very much appreciated.
> 
> Thanks,
> steven
> 
> 
> 
> g++ -DCSOUND_WITH_API -g -O2 -Wall -D_WIN32 -DWIN32 -DHAVE_STRING_H 
> -DPIPES -mno
> -cygwin -DHAVE_IO_H -DHAVE_FCNTL_H -DHAVE_UNISTED_H -DHAVE_MALLOC_H 
> -DHAVE_SYS_I
> OCTL_H -DHAVE_SYS_TIME_H -DHAVE_TERMIOS_H -DHAVE_STRING_H 
> -DHAVE_STRINGS_H -DRTA
> UDIO -DWINDOWS -DUSE_FLTK -fno-exceptions -fno-rtti -DBETA -mno-cygwin 
> -I. -IH -
....

Date2004-03-19 00:52
Fromsteven yi
Subject[CSOUND-DEV:4378] Re: -mno-cygwin
Hi Richard,

I think you're right and that should be HAVE_UNISTD_H.  I tried that but 
the results were unfortunately the same.

Thanks for taking a look,
steven



Richard Dobson wrote:

> er, rewrite it in C?
>
> Or, I can understand -DHAVE_UNISTD_H, but what is -DHAVE_UNISTED_H ?
>
>
> Richard Dobson
>
> steven yi wrote:
>
>> Hi all,
>>
>> So I reinstalled cygwin and still have the same issues with 
>> widgets.cpp.  I've included the error message below.  I get the same 
>> error if I move the include directories around.  If anyone has any 
>> ideas it'd be very much appreciated.
>>
>> Thanks,
>> steven
>>
>>
>>
>> g++ -DCSOUND_WITH_API -g -O2 -Wall -D_WIN32 -DWIN32 -DHAVE_STRING_H 
>> -DPIPES -mno
>> -cygwin -DHAVE_IO_H -DHAVE_FCNTL_H -DHAVE_UNISTED_H -DHAVE_MALLOC_H 
>> -DHAVE_SYS_I
>> OCTL_H -DHAVE_SYS_TIME_H -DHAVE_TERMIOS_H -DHAVE_STRING_H 
>> -DHAVE_STRINGS_H -DRTA
>> UDIO -DWINDOWS -DUSE_FLTK -fno-exceptions -fno-rtti -DBETA 
>> -mno-cygwin -I. -IH -
>
> ....
>
>
>

Date2004-03-19 02:17
Fromsteven yi
Subject[CSOUND-DEV:4380] Re: -mno-cygwin
I think I've figured out now that it boils down to a macro that 
shouldn't be defined.  I tried from just a commandline with:

$ g++ -mno-cygwin -DHAVE_ITOA -I/usr/local/include -IH InOut/widgets.cpp 
-c -o
InOut/widgets.o
In file included from /usr/include/c++/3.3.1/backward/strstream:51,
                 from InOut/widgets.cpp:76:
/usr/include/c++/3.3.1/backward/backward_warning.h:32:2: warning: 
#warning This
file includes at least one deprecated or antiquated header. Please 
consider usin
g one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples
include substituting the  header for the  header for C++ 
includes, or  instead of the deprecated header . To disable this 
warning
use -Wno-deprecated.
In file included from H/cs.h:34,
                 from InOut/widgets.cpp:82:
H/csoundCore.h:763:1: warning: "__cdecl" redefined
:68:1: warning: this is the location of the previous definition

and ended up with an object file being written.  So, at least I've got a 
lead now.  (Should have tried this from the beginning...).

Thanks all for bearing with my inquiries!
steven

Date2004-03-19 06:09
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4381] Re: Getting in step
>>>>> "gogins@pipeline" == gogins@pipeline com  writes:

 gogins@pipeline> As I said before, I'm glad to hear it. 
 gogins@pipeline> So what happened with the utility files that I had booked in? They were
 gogins@pipeline> overwritten when I updated from CVS. 

I never saw any conflicts except in ChangeLog, which I hand-merged.

 gogins@pipeline> Is this similar to what you were complaining about? Or did you revert these
 gogins@pipeline> files because they didn't work with your build system, i.e. did you merge
 gogins@pipeline> away my changes because they weren't consistent with your work?

I have never reverted anyting -- indeed I do not know how.  I was not
aware of changing anything you had done.  As I keep saying, since the
CVS deleted my files and left me with systems that would not build, I
have done all editing on another machine, and when they worked (in my
definition) I moved them to the other machine, where I use CVS.  As i
still cannot build on that machine I cannot test things there.

==John ffitch