Quoting [EMAIL PROTECTED]: >> The problem is the CMakeFiles.txt are not considering the case where >> you are using Win32 but not Visual C++. Please apply the attached >> patch and report if it works now (additional flags might be needed for >> Cygwin/MingW) > > Cool, that works! Thanks. > > I now get further, until > "In file included from /home/gary/wt/wt-2.1.3/src/wt/WAbstractItemModel:13, > from /home/gary/wt/wt-2.1.3/src/wt/WAbstractItemModel.C:12: > /home/gary/wt/wt-2.1.3/src/wt/WString:113: error: expected > unqualified-id before '&' token" > > It seems Cygwin is not currently 100% Unicode-able > (http://sourceware.org/ml/cygwin/2008-05/msg00359.html) which I guess > is the root of the problem. Is there a way for me to configure Wt to > only use non-wide strings, for the time being? > > (I'm not trying to build under Cygwin just to be awkward, by the way - > though I would rather like to avoid installing yet another toolchain! > - I also thought it would be nice to be able to allow Wt to allow > another target)
You are right: the problem is Cygwin (and MinGW stable, which is gcc 3.4.5) do not support wstring or wchar_t, therefore supporting special characters in those platforms would be difficult. Just for fun, I started to patch Wt 2.1.3 to build with Cygwin and got some success. If anyone's interested in the patch (beware: it does not fully build Wt), ask me. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
