You're da man Koen :D

On Thu, Feb 24, 2011 at 6:44 PM, Koen Deforche <[email protected]> wrote:
> Hey Jack,
>
> 2011/2/24 Jack <[email protected]>:
>> Compiling this gives:
>> In file included from /usr/include/Wt/WWebWidget:14:0,
>>                  from /usr/include/Wt/WBreak:10,
>>                  from /usr/include/Wt/WCssStyleSheet:14,
>>                  from /usr/include/Wt/WApplication:23,
>>                  from /var/www/treesdb/htdocs/wttrees/src/wttrees.h:4,
>>                  from /var/www/treesdb/htdocs/wttrees/src/traitsUI.C:1:
>> /usr/include/boost/noncopyable.hpp: In member function 'Wt::WWidget&
>> Wt::WWidget::operator=(const Wt::WWidget&)':
>> /usr/include/boost/noncopyable.hpp:28:26: error: 'const
>> boost::noncopyable_::noncopyable&
>> boost::noncopyable_::noncopyable::operator=(const
>> boost::noncopyable_::noncopyable&)' is private
>> /usr/include/Wt/WWidget:66:1: error: within this context
>
> It seems that you are passing a widget or copying a widget by value,
> not by pointer.
> The boost::noncopyable interface prevents that, by making the compiler
> trigger a compile error.
>
> WContainerWidget *w = ...; // OK
> WContainerWidget w = ; // BAD
>
> Regards.
> koen
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to