Hey Richard,

2009/5/20 Richard Dale <[email protected]>:
> I'm trying to build the current git version of Wt and I get this error:
>
> [  7%] Building CXX object src/CMakeFiles/wt.dir/web/WebSession.o
> /home/rdale/src/wt/src/web/WebSession.C:62: error:
> ‘Wt::WebSession::Handler* Wt::WebSession::Handler::threadHandler_’ is
> not a static member of ‘class Wt::WebSession::Handler’
> make[2]: *** [src/CMakeFiles/wt.dir/web/WebSession.o] Error 1
> make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2
>
> I'm building non-threaded version of Wt. The header and source file
> look fine to me:
>
> header:
> #if defined(WT_THREADED) || defined(WT_TARGET_JAVA)
>  boost::mutex mutex_;
>  static boost::thread_specific_ptr<Handler> threadHandler_;
> #else
>  static Handler *threadHandler_;
> #endif // WT_TARGET_JAVA
>
> src:
> #if defined(WT_THREADED) || defined(WT_TARGET_JAVA)
> boost::thread_specific_ptr<WebSession::Handler> WebSession::threadHandler_;
> #else
> WebSession::Handler * WebSession::Handler::threadHandler_;
> #endif

Are you sure this is the latest git? That should read:

#if defined(WT_THREADED) || defined(WT_TARGET_JAVA)
boost::thread_specific_ptr<WebSession::Handler> WebSession::threadHandler_;
#else
WebSession::Handler * WebSession::threadHandler_;
#endif

Regards,
koen

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to