Re: [Boost-bugs] [Boost C++ Libraries] #7817: Many warnings during compile time

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7817: Many warnings during compile time
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-08 20:19:43


#7817: Many warnings during compile time
--------------------------------+-------------------------------------------
  Reporter: olgood@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.52.0 | Severity: Cosmetic
Resolution: | Keywords:
--------------------------------+-------------------------------------------

Comment (by Barnabé Faliu <barnabe.faliu@…>):

 Replying to [comment:9 anonymous]:

 Problem solved ! Thank you very much

> But hey! Just noted: seems you have to put define before include. Isn't
 it?
>
> Replying to [comment:7 Barnabé Faliu <barnabe.faliu@…>]:
> >
> > {{{
> > #include <iostream>
> > #include <boost/thread/thread.hpp>
> >
> > #define BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN
> > using namespace std;
> >
> >
> >
> > int main() {
> > cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
> > return 0;
> > }
> > }}}
> >
> > This is the only lines in my file. I included
 '''C:\Boost\boost_1_52_0''', added this library path :
 '''C:\Boost\boost_1_52_0\lib''' and thoose libraries :
> > '''boost_system-mgw47-1_52'''
> > '''boost_thread-mgw47-mt-sd-1_52'''

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7817#comment:10>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC