I get the following error on compiling the code.
c:\boost_1_48_0\boost\signals\connection.hpp(118) : warning C4251: 'boost::signals::connection::con' : class 'boost
::shared_ptr<T>' needs to have dll-interface to be used by clients of class 'boost::signals::connection'
The signals in the code are defined as
boost::signal<void (long long int)> totalTimeChanged;
boost::signal<void (unsigned int)> curTimeChanged;
connection is done as
GStreamer::totalTimeChanged.connect(boost::bind(&MainWindow\
::total_time_changed, &player, _1));
The compilation is successful but how do I get rid of these compiler warnings ?