| 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. |