1 Dec 2008 10:44
Wt-2.2.1 WLayout Compile Error
Hi all,
I recently upgraded to Wt-2.2.1 and these two includes in my project related to layout seem to be causing a problem
#include <Wt/WGridLayout>
#include <Wt/WBorderLayout>
Here's what I get when I try to compile:-
/usr/local/include/Wt/WLayout:170: error: expected ';' before 'margins_'
In the file at that line -> int *WT_ARRAY margins_;
I am compiling all necessary libraries (/usr/local/lib/libwt.so /usr/local/lib/libwthttp.so /usr/local/lib/libwtext.so). Has anyone ever seen this before or know how to correct? I am compiling on Ubuntu.
Thanks in advance,
Osei
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ witty-interest mailing list witty-interest@... https://lists.sourceforge.net/lists/listinfo/witty-interest
best,
Lalo Martins
> Not only have we fixed quite some little bugs in various places, but
> there are also some new classes and features:
[...]
> And Wt turns 3 years old today (still enjoying a fast growth rate!).
Congrats...
Unfortunately I stumbled on a problem with the long longs:
g++ -c -I. -I run/wt-cvs/include -g -Wall -ansi -pedantic -Werror
formbase.C -o build/formbase.o
In file included from run/wt-cvs/include/Wt/WAbstractItemModel:
run/wt-cvs/include/Wt/WModelIndex:169: error: ISO C++ does not support
'long long'
run/wt-cvs/include/Wt/WModelIndex:274: error: ISO C++ does not support
'long long'
Please have a look at the attached patch...
Goetz
RSS Feed