Hi all,
I got this error while building wt on cygwin. Any help or patch please? I know
that cygwin does not support wchar_t.
Thanks
[EMAIL PROTECTED] /cygdrive/c/wt-2.1.4/build
$ make
[ 0%] Built target filetostring
Scanning dependencies of target wt
[ 1%] Building CXX object src/CMakeFiles/wt.dir/wt/StdGridLayoutImpl.o
In file included from /cygdrive/c/wt-2.1.4/src/wt/WColor:10,
from /cygdrive/c/wt-2.1.4/src/wt/WBorder:11,
from /cygdrive/c/wt-2.1.4/src/wt/WCssDecorationStyle:11,
from /cygdrive/c/wt-2.1.4/src/wt/WCssStyleSheet:14,
from /cygdrive/c/wt-2.1.4/src/wt/WApplication:15,
from /cygdrive/c/wt-2.1.4/src/wt/StdGridLayoutImpl.C:11:
/cygdrive/c/wt-2.1.4/src/wt/WString:113: error: expected unqualified-id before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:113: error: expected `,' or `...' before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:113: error: ISO C++ forbids declaration of
`parameter' with no type
/cygdrive/c/wt-2.1.4/src/wt/WString:177: error: expected unqualified-id before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:177: error: expected `,' or `...' before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:177: error: ISO C++ forbids declaration of
`parameter' with no type
/cygdrive/c/wt-2.1.4/src/wt/WString:246: error: using-declaration for
non-member at class scope
/cygdrive/c/wt-2.1.4/src/wt/WString:246: error: expected `;' before "value"
/cygdrive/c/wt-2.1.4/src/wt/WString:264: error: `std::wstring' has not been
declared
/cygdrive/c/wt-2.1.4/src/wt/WString:286: error: expected unqualified-id before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:286: error: expected `,' or `...' before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:286: error: ISO C++ forbids declaration of
`parameter' with no type
/cygdrive/c/wt-2.1.4/src/wt/WString:316: error: `Wt::WString&
Wt::WString::arg(int)' and `Wt::WString& Wt::WString::arg(int)' cannot be
overloaded
/cygdrive/c/wt-2.1.4/src/wt/WString:390: error: expected unqualified-id before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:390: error: expected `,' or `...' before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:390: error: ISO C++ forbids declaration of
`parameter' with no type
/cygdrive/c/wt-2.1.4/src/wt/WString:414: error: expected unqualified-id before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:414: error: expected `,' or `...' before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:414: error: ISO C++ forbids declaration of
`parameter' with no type
/cygdrive/c/wt-2.1.4/src/wt/WString:414: error: `Wt::WString
Wt::operator+(int)' must have an argument of class or enumerated type
/cygdrive/c/wt-2.1.4/src/wt/WString:456: error: expected unqualified-id before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:456: error: expected `,' or `...' before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:456: error: ISO C++ forbids declaration of
`parameter' with no type
/cygdrive/c/wt-2.1.4/src/wt/WString:456: error: `bool Wt::operator==(int)' must
have an argument of class or enumerated type
/cygdrive/c/wt-2.1.4/src/wt/WString:456: error: `bool Wt::operator==(int)' must
take exactly two arguments
/cygdrive/c/wt-2.1.4/src/wt/WString:480: error: expected unqualified-id before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:480: error: expected `,' or `...' before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:480: error: ISO C++ forbids declaration of
`parameter' with no type
/cygdrive/c/wt-2.1.4/src/wt/WString:480: error: `bool Wt::operator!=(int)' must
have an argument of class or enumerated type
/cygdrive/c/wt-2.1.4/src/wt/WString:480: error: `bool Wt::operator!=(int)' must
take exactly two arguments
/cygdrive/c/wt-2.1.4/src/wt/WString:486: error: expected init-declarator before
'&' token
/cygdrive/c/wt-2.1.4/src/wt/WString:486: error: expected `,' or `;' before '&'
token
In file included from /cygdrive/c/wt-2.1.4/src/wt/WApplication:18,
from /cygdrive/c/wt-2.1.4/src/wt/StdGridLayoutImpl.C:11:
/cygdrive/c/wt-2.1.4/src/wt/WMessageResourceBundle:71: error: using-declaration
for non-member at class scope
/cygdrive/c/wt-2.1.4/src/wt/WMessageResourceBundle:71: error: expected `;'
before "getValue"
make[2]: *** [src/CMakeFiles/wt.dir/wt/StdGridLayoutImpl.o] Error 1
make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2
make: *** [all] Error 2
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest