Modify

Ticket #7045 (closed Bugs: fixed)

Opened 22 months ago

Last modified 20 months ago

Thread library does not automatically compile date_time

Reported by: anonymous Owned by: viboes
Milestone: Boost 1.52.0 Component: thread
Version: Boost 1.50.0 Severity: Problem
Keywords: Cc: zhnmju123@…

Description

Hi,

this is a problem for Visual Studio only (both VC10 and VC11), not a problem for MinGW:

when building boost including the thread library with

bjam toolset=msvc-11.0 --build-type=complete --with-thread

it does not also build "date_time". Later when compiling a project that depends on boost thread, linker errors will demand "date_time".

Interestingly this automatic dependency resolution is implemented correctly for MinGW:

bjam toolset=gcc --build-type=complete --with-thread

Here thread is dependent form "chono" and "system" (new with boost 1.50!). But it is not required to specify "--with-chrono --with-system".

The "thread" libs internal dependencies are an implementation detail and should not concern the end user when building boost! It's quite a nuissance having to build boost all over again after realizing the linker is missing a dependency a long time later.

PS: "chono" and "system" are a new thread dependency for MinGW since 1.50: Is this "by accident" or on purpose?

PPS: *Please* clean up all the warnings in <boost/thread.hpp>. Yes std::thread is on the horizon, but not on Visual studio until VC11. And VC11 has it's own issues which makes it just not ready for prime time. Not to mention the problem of missing interuption in std::thread. So boost/thread is a viable solution for a significant time to come.

Currently this abomination is required to have a clean build with boost thread: (for Mingw/GCC 4.7, VC10, VC11 and Linux GCC 4.6)

#ifdef __MINGW32__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wswitch-enum"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
#pragma GCC diagnostic ignored "-Wshadow"
#endif
#ifdef _MSC_VER
#pragma warning(disable : 4702) //unreachable code
#endif

#include <boost/thread.hpp>

#ifdef __MINGW32__
#pragma GCC diagnostic pop
#endif
#ifdef _MSC_VER
#pragma warning(default : 4702) //unreachable code
#endif

Thanks, ZenJu? (zhnmju123@…)

Attachments

7045.patch Download (3.4 KB) - added by viboes 22 months ago.
some warning removal
7045_2.patch Download (3.9 KB) - added by viboes 20 months ago.
fixes for winows platform

Change History

comment:1 Changed 22 months ago by ZenJu <zhnmju123@…>

  • Cc zhnmju123@… added

comment:2 Changed 22 months ago by ZenJu <zhnmju123@…>

  • Owner set to anthonyw
  • Version changed from Boost 1.49.0 to Boost 1.50.0
  • Component changed from None to thread

comment:3 Changed 22 months ago by viboes

  • Owner changed from anthonyw to viboes
  • Status changed from new to assigned

To my knowledge, the dependency on Boost.DateTime? was only on header only files. It seems that on Boost 1.50 the toolset=msvc-11.0 implies a dependency on the binary. This is a regression on Boost.DateTime?.

I will take a look on this soon, but you don't find estrange that the dependency is not needed for MinGW. Maybe this ticket should be moved to Boost.DateTime?. For the warnings, I would appreciate if you post the warnings these pragmas are removing and I would prefer you create a specific ticket for that.

BTW, are the GCC pragmas valid for any GCC compiler, or only after a specific version?

comment:4 Changed 22 months ago by ZenJu <zhnmju123@…>

to my knowledge, the dependency on Boost.DateTime?? was only on header only files.

The linker dependency of boost::thread on boost:datetime on VC10 and VC11 is actually quite old, at least the last 4 or 5 boost versions. It's not really a problem due to boost automatically picking the right libaries during project linking on VC. This ticket is just about making sure datetime is automatically built, when boost::thread is being compiled with "--with-thread"

On MinGW on the other hand boost::thread does *not* depend on boost::datetime libs during linkage. But, new with 1.50 it depends on "chono" and "system" libs (both mingw and linux GCC) This complicates static linking, since unlike with visual studio you have to manually maintain the library names in the project setup or makefile.

For the warnings, I would appreciate if you post the warnings these pragmas are removing and I would prefer you create a specific ticket for that. BTW, are the GCC pragmas valid for any GCC compiler, or only after a specific version?

"GCC diagnostic push" is not available before GCC 4.6. Any way, fixing these warnings is probably the simplest and most portable solution.

Here is the warning on VC10 of boost 1.50:

1>c:\program files\c++\boost\boost\thread\future.hpp(1624): warning C4702: unreachable code

And the tons of warnings on GCC distributed between thread and datetime:

C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp||In function 'tm boost::gregorian::to_tm(const boost::gregorian::date&)':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'min_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'max_date_time' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\gregorian\conversion.hpp|33|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = unsigned int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<unsigned int>]':|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_date.hpp|53|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long int>]':|
C:\Program Files\C++\Boost\boost\date_time\date_duration.hpp|42|required from 'boost::date_time::date_duration<duration_rep_traits>::date_duration(boost::date_time::special_values) [with duration_rep_traits = boost::date_time::duration_traits_adapted]'|
C:\Program Files\C++\Boost\boost\date_time\gregorian\greg_duration.hpp|39|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp||In instantiation of 'static boost::date_time::int_adapter<int_type_> boost::date_time::int_adapter<int_type_>::from_special(boost::date_time::special_values) [with int_type_ = long long int; boost::date_time::int_adapter<int_type_> = boost::date_time::int_adapter<long long int>]':|
C:\Program Files\C++\Boost\boost\date_time\time_duration.hpp|69|required from 'boost::date_time::time_duration<T, rep_type>::time_duration(boost::date_time::special_values) [with T = boost::posix_time::time_duration; rep_type = boost::date_time::time_resolution_traits<boost::date_time::time_resolution_traits_adapted64_impl, (boost::date_time::time_resolutions)5u, 1000000ll, 6u>]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\posix_time_config.hpp|82|required from here|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\int_adapter.hpp|75|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp||In instantiation of 'static boost::date_time::counted_time_system<time_rep>::time_rep_type boost::date_time::counted_time_system<time_rep>::get_time_rep(boost::date_time::special_values) [with time_rep = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>; boost::date_time::counted_time_system<time_rep>::time_rep_type = boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config>]':|
C:\Program Files\C++\Boost\boost\date_time\time.hpp|67|required from 'boost::date_time::base_time<T, time_system>::base_time(boost::date_time::special_values) [with T = boost::posix_time::ptime; time_system = boost::date_time::counted_time_system<boost::date_time::counted_time_rep<boost::posix_time::millisec_posix_time_system_config> >]'|
C:\Program Files\C++\Boost\boost\date_time\posix_time\ptime.hpp|51|required from here|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'not_special' not handled in switch [-Wswitch-enum]|
C:\Program Files\C++\Boost\boost\date_time\time_system_counted.hpp|149|warning: enumeration value 'NumSpecialValues' not handled in switch [-Wswitch-enum]|
||=== Build finished: 0 errors, 372 warnings (1 minutes, 33 seconds) ===|

comment:5 Changed 22 months ago by viboes

For the time been, I don't intend to fix these

C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp||In instantiation of 'T boost::shared_mutex::interlocked_compare_exchange(T*, T, T) [with T = boost::shared_mutex::state_data]':|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|124|required from here|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|52|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|
C:\Program Files\C++\Boost\boost\thread\win32\shared_mutex.hpp|53|warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]|

See #6652.

For these warnings

C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|318|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|323|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|334|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|339|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|426|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|432|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const system_time&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|444|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp||In member function 'bool boost::condition_variable_any::timed_wait(lock_type&, const boost::xtime&, predicate_type)':|
C:\Program Files\C++\Boost\boost\thread\win32\condition_variable.hpp|450|warning: declaration of 'wait_until' shadows a member of 'this' [-Wshadow]|

see the attached patch.

For the date_time warnings, please create a ticket for this library.

Changed 22 months ago by viboes

some warning removal

comment:6 Changed 22 months ago by viboes

I don't understand the warning

1>c:\program files\c++\boost\boost\thread\future.hpp(1624): warning C4702: unreachable code

given the following code

        BOOST_THREAD_FUTURE<R> get_future()
        {
            if(!task)
            {
                boost::throw_exception(task_moved());
            }
            else if(!future_obtained)
            {
                future_obtained=true;
                return BOOST_THREAD_FUTURE<R>(task);
            }
            else
            {
                boost::throw_exception(future_already_retrieved());
            }
            return BOOST_THREAD_FUTURE<R>();

        }

Could you point me where is the problem?

comment:7 follow-up: ↓ 9 Changed 22 months ago by ZenJu <zhnmju123@…>

date_time warnings,

 https://svn.boost.org/trac/boost/ticket/7068

Could you point me where is the problem?

return BOOST_THREAD_FUTURE<R>();

will never be reached in any code path. The reason why this line exists is to please older and less smart compilers which would otherwise issue a warning "Control reaches the end of a non-void function".

comment:8 Changed 22 months ago by viboes

Committed in trunk [79336]

comment:9 in reply to: ↑ 7 Changed 22 months ago by viboes

Replying to ZenJu <zhnmju123@…>:

date_time warnings,

 https://svn.boost.org/trac/boost/ticket/7068

Could you point me where is the problem?

return BOOST_THREAD_FUTURE<R>();

will never be reached in any code path. The reason why this line exists is to please older and less smart compilers which would otherwise issue a warning "Control reaches the end of a non-void function".

OK. I see.

comment:10 Changed 22 months ago by viboes

Please, could you show an example, the command line and the linker error?

comment:11 follow-up: ↓ 12 Changed 22 months ago by ZenJu <zhnmju123@…>

An example for what?

comment:12 in reply to: ↑ 11 Changed 22 months ago by viboes

Replying to ZenJu <zhnmju123@…>:

An example for what?

Of the dependency on Boost.DateTime?.

comment:13 Changed 22 months ago by ZenJu <zhnmju123@…>

1>LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc100-mt-gd-1_50.lib'

Interestingly libs for "chrono" and "system" are created for VC10, just "date_time" is missing.

comment:14 Changed 22 months ago by viboes

I need the code example and the command line also.

comment:15 Changed 22 months ago by viboes

Have you tried to link without -lboost_date_time?

comment:16 Changed 22 months ago by ZenJu <zhnmju123@…>

It seems my problem description has not been clear: When compiling boost with

bjam toolset=msvc-11.0 --build-type=complete --with-thread

it does not compile the dependent library "date_time". But it (rightly) compiles the dependent libraries "chrono" and "system".

comment:17 Changed 22 months ago by viboes

As I said, Boost.Thread doesn't depends on Boost.DateTime? binary library, so that it doesn't add this dependency on the Jamfile. This explain that

bjam toolset=msvc-11.0 --build-type=complete --with-thread

could not build Boost.DateTime?.

The question is, why do you need the binary dependency on your project. This is why I'mm requesting you to post an example and the command line failing. Hope this is clear.

comment:18 Changed 22 months ago by ZenJu <zhnmju123@…>

  1. Create new VS 10 project
  1. main.cpp
    #include <boost/thread.hpp>
    
    int main()
    {
    }
    
  1. linker error
LINK : fatal error LNK1104: cannot open file 'libboost_date_time-vc100-mt-s-1_50.lib'

comment:19 Changed 22 months ago by anonymous

Well, then I think that the issue is in the way VS 10 defines the dependencies, and not in Boost.Thread.

comment:20 Changed 21 months ago by viboes

  • Status changed from assigned to closed
  • Resolution set to worksforme

Closed as no answer.

comment:21 Changed 21 months ago by zhnmju123@…

Please close it as "won't fix" if you don't intent do do something about this. Or is there some more information you need to reproduce?

comment:22 Changed 21 months ago by anonymous

  • Status changed from closed to reopened
  • Resolution worksforme deleted

comment:23 follow-up: ↓ 24 Changed 21 months ago by anonymous

The problem is actually deeper than expected:

  1. create new MSVC 10 or 11 console project and add boost include and linker paths
  1. #include <boost/thread/tss.hpp>
    
  1. add global variable
    boost::thread_specific_ptr<std::wstring> msg;
    
  1. compile and link
  1. linker error
    1>------ Erstellen gestartet: Projekt: ConsoleApplication4, Konfiguration: Debug Win32 ------
    1>Der Buildvorgang wurde am 13.08.2012 17:00:54 gestartet.
    1>InitializeBuildStatus:
    1>  Aktualisieren des Timestamps von "Debug\ConsoleApplication4.unsuccessfulbuild".
    1>ClCompile:
    1>  Alle Ausgaben sind aktuell.
    1>libboost_thread-vc110-mt-gd-1_50.lib(thread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: static class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<__int64,class boost::ratio<1,10000000> > > __cdecl boost::chrono::system_clock::now(void)" (?now@system_clock@chrono@boost@@SA?AV?$time_point@Vsystem_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0JIJGIA@@boost@@@23@@23@XZ)" in Funktion ""public: bool __thiscall boost::thread::try_join_until(class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<__int64,class boost::ratio<1,1000000000> > > const &)" (?try_join_until@thread@boost@@QAE_NABV?$time_point@Vsystem_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0DLJKMKAA@@boost@@@23@@chrono@2@@Z)".
    1>c:\users\zenju\documents\visual studio 11\Projects\ConsoleApplication4\Debug\ConsoleApplication4.exe : fatal error LNK1120: 1 nicht aufgelöste Externe
    1>
    1>Fehler beim Buildvorgang.
    1>
    1>Verstrichene Zeit 00:00:00.16
    ========== Erstellen: 0 erfolgreich, 1 fehlerhaft, 0 aktuell, 0 übersprungen ==========
    

=> there is obviously a bug in the boost dependency management. Both when building the boost package and even later when linking a project the depedency of boost::thread from boost::chrono is not detected.

comment:24 in reply to: ↑ 23 Changed 21 months ago by viboes

  • Status changed from reopened to closed
  • Resolution set to worksforme

Replying to anonymous:

The problem is actually deeper than expected:

  1. create new MSVC 10 or 11 console project and add boost include and linker paths
  1. #include <boost/thread/tss.hpp>
    
  1. add global variable
    boost::thread_specific_ptr<std::wstring> msg;
    
  1. compile and link
  1. linker error
    1>------ Erstellen gestartet: Projekt: ConsoleApplication4, Konfiguration: Debug Win32 ------
    1>Der Buildvorgang wurde am 13.08.2012 17:00:54 gestartet.
    1>InitializeBuildStatus:
    1>  Aktualisieren des Timestamps von "Debug\ConsoleApplication4.unsuccessfulbuild".
    1>ClCompile:
    1>  Alle Ausgaben sind aktuell.
    1>libboost_thread-vc110-mt-gd-1_50.lib(thread.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: static class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<__int64,class boost::ratio<1,10000000> > > __cdecl boost::chrono::system_clock::now(void)" (?now@system_clock@chrono@boost@@SA?AV?$time_point@Vsystem_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0JIJGIA@@boost@@@23@@23@XZ)" in Funktion ""public: bool __thiscall boost::thread::try_join_until(class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<__int64,class boost::ratio<1,1000000000> > > const &)" (?try_join_until@thread@boost@@QAE_NABV?$time_point@Vsystem_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0DLJKMKAA@@boost@@@23@@chrono@2@@Z)".
    1>c:\users\zenju\documents\visual studio 11\Projects\ConsoleApplication4\Debug\ConsoleApplication4.exe : fatal error LNK1120: 1 nicht aufgelöste Externe
    1>
    1>Fehler beim Buildvorgang.
    1>
    1>Verstrichene Zeit 00:00:00.16
    ========== Erstellen: 0 erfolgreich, 1 fehlerhaft, 0 aktuell, 0 übersprungen ==========
    

=> there is obviously a bug in the boost dependency management. Both when building the boost package and even later when linking a project the depedency of boost::thread from boost::chrono is not detected.

The dependency to Boost.Chrono is documented, and the user needs to add it.

comment:25 Changed 21 months ago by anonymous

  • Status changed from closed to reopened
  • Resolution worksforme deleted

Where has this been documented?

For Visual studio it is not required to manually add boost libraries, just add the directory where they reside to the linker search path. This works fine in fact, except for boost::chrono, which, according to the expected behavior, is a plain bug.

comment:26 Changed 20 months ago by viboes

It is documented here. http://www.boost.org/doc/libs/1_50_0/doc/html/thread/build.html#thread.build.configuration.chrono

I don't know how Visual studio work. Do you have any suggestion on how to make it work?

comment:27 follow-up: ↓ 28 Changed 20 months ago by zhnmju123@…

Do you have any suggestion on how to make it work?

I had hoped you would know :) I guess its simply realized via the

#pragma comment(lib, "libboost_system-vc110-mt-s-1_50.lib")

technique. And in the thread lib this entry is missing in the implementation file.

Boost calls this feature "automatic library selection" and it's a huge boon that simplifies visual studio projects: http://www.boost.org/doc/libs/1_48_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code.automatic_library_selection

I don't know how the boost package creation process is defined. Maybe you have a component or person responsible for packaging? In this case this ticket should be redirected to him.

The same person might want to also have a look at

bjam toolset=gcc --build-type=complete --with-thread

and make sure whenever the thread library is requested, the chrono library is implicitly selected, too, which is required anyway. But his is only a nice-to-have.

Boost "automatic library selection" on the other hand is mandatory for my projects: I am only compiling boost thread and chrono, for two compilers, visual studio 10 and 11 and for two architectures, x86 and x64 and have over a *hundred* different library files. You do not want to make me update these dependencies in my project file manually, let alone apply all the version increments after each boost release.

comment:28 in reply to: ↑ 27 Changed 20 months ago by viboes

Replying to zhnmju123@…:

Do you have any suggestion on how to make it work?

I had hoped you would know :) I guess its simply realized via the

#pragma comment(lib, "libboost_system-vc110-mt-s-1_50.lib")

technique. And in the thread lib this entry is missing in the implementation file.

Boost calls this feature "automatic library selection" and it's a huge boon that simplifies visual studio projects: http://www.boost.org/doc/libs/1_48_0/libs/config/doc/html/boost_config/boost_macro_reference.html#boost_config.boost_macro_reference.macros_for_libraries_with_separate_source_code.automatic_library_selection

I know that, and Boost.Thread uses it, but it forces just to link with boost_thread. I have checked Boost.System, Boost.DateTime? and Boost.Chrono and all of them use the same technique, but may be there is a file that is missing the include. Could you point to the file you are including that makes the linker fail?

comment:29 follow-up: ↓ 30 Changed 20 months ago by anonymous

Could you point to the file you are including that makes the linker fail?

I made a small test with "/showIncludes" and in fact the linker dependency to boost::chrono is in none of the header files directly or indirectly included via "<boost/thread/tss.hpp>"!

Now where is it coming from? It's in fact in the compiled thread lib itself! E.g. the file "libboost_thread-vc110-mt-s-1_50" contains references to chrono: time_point, system_clock, ect.

comment:30 in reply to: ↑ 29 Changed 20 months ago by viboes

Replying to anonymous:

Could you point to the file you are including that makes the linker fail?

I made a small test with "/showIncludes" and in fact the linker dependency to boost::chrono is in none of the header files directly or indirectly included via "<boost/thread/tss.hpp>"!

Now where is it coming from? It's in fact in the compiled thread lib itself! E.g. the file "libboost_thread-vc110-mt-s-1_50" contains references to chrono: time_point, system_clock, ect.

Does Boost.Chrono include a dependency to DateTime?? if yes, where? If not, I don't see how this has to be with the subject.

comment:31 follow-up: ↓ 32 Changed 20 months ago by anonymous

It looked like boost chrono would somehow be part of date_time just because former is compiled implicitly via

bjam toolset=msvc-10.0 --build-type=complete --with-thread --with-date_time --stagedir=.\stage

Anyway, the main problem is failure to include the chrono libs by the auto-linker facility.

comment:32 in reply to: ↑ 31 Changed 20 months ago by viboes

Replying to anonymous:

It looked like boost chrono would somehow be part of date_time just because former is compiled implicitly via

bjam toolset=msvc-10.0 --build-type=complete --with-thread --with-date_time --stagedir=.\stage

No, this is because Boost.Thread depends explicitly on Boost.Chrono.

Anyway, the main problem is failure to include the chrono libs by the auto-linker facility.

I though that it was the a failure to include the date-time lib.

comment:33 Changed 20 months ago by viboes

I think that I understand where the problem could come from.

Boost.Thread include a DateTime? file that even if it is header only, it is using the #pragma comment(lib, "libboost_date_time-vc110-mt-s-1_50.lib").

When Visual studio see this pragma it requires to link with date_time. So, in my opinion the fix is related to Boost.DateTime? that is including the boost/config/auto_link.hpp even for header-only files, isn't it?

comment:34 Changed 20 months ago by anonymous

Let me clarify the two remaining topics of this ticket:

  1. Whenever the "thread" lib is requested to compile, e.g.
    bjam toolset=msvc-10.0 --build-type=complete --with-thread --with-date_time --stagedir=.\stage
    

always "date_time" should be selected, too. It's quite possible that the "date_time" dependency is in fact an error, for example in GCC "thread" does *not* require "date_time" for successful linkage. In this case there are two options: I) The pragmatic: just compile "date_time" whenever "thread" is requested when compiling for Visual Studio or II) ideal: find out why "thread" depends on "date_time" on visual studio (but not on GCC) and remove this dependency if possible. The priority is "nice to have". I lost quite some time having to re-compile boost after finding the "date_time" lib missing on VC, so this improvement could save other user's time as well.

  1. Only on Windows, Visual Studio: The auto-linker does not look for the "chrono" libs, although they are in the linker search path in the example of comment 23.

Regarding 1:

Boost.Thread include a DateTime? file that even if it is header only

I see "#include <boost/date_time/posix_time/conversion.hpp>" at the beginning of file "boost\libs\thread\src\win32\thread.cpp". This is most likely where the thread->datetime dependency is coming from. It should be checked if this is really needed and removed if possible.


Regarding 2:

Also in "boost\libs\thread\src\win32\thread.cpp", line 334:

bool thread::try_join_until(const chrono::time_point<chrono::system_clock, chrono::nanoseconds>& tp)

=> thread lib should add chrono to it's auto-linker. "chrono::time_point" is exactly the symbol the linker is missing in "comment 23"

comment:35 Changed 20 months ago by viboes

Regarding 1: <boost/date_time/posix_time/conversion.hpp> ends by including boost/config/auto_link.hpp. And even if even Boost.Thread don't use any non inlined function, these files contain function declarations that justify the inclusion of boost/config/auto_link.hpp. So I will add the dependency of boost_date_time in the Jamfile.

Regarding 2: Do you mean that I need to include <boost/chrono.hpp> in boost/thread/tss.hpp even it it is not needed, just to satisfy the Visual Studio auto linker. This seems odd to me.

comment:36 Changed 20 months ago by anonymous

 I will add the dependency of boost_date_time in the Jamfile.

Great, this should do! FYI, there is also a dependency to "date_time" in the <boost/thread/thread.hpp> file:

1>  Note: including file: C:\Program Files\C++\boost\boost/thread/thread.hpp
1>  Note: including file:  C:\Program Files\C++\boost\boost/thread/win32/thread_data.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/thread/thread_time.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/date_time/time_clock.hpp

This header file dependency seems to trigger the auto-linker facility for "date_time" whenever "thread" is used.


Do you mean that I need to include <boost/chrono.hpp>

No, the chrono auto-linkage is correctly triggered by <boost/thread.hpp>. But <boost/tss.hpp> does not include <boost/thread.hpp>, but <boost/thread/detail/config.hpp> instead, with the effect of never including <boost/chrono.hpp>! This is the problem, so the chrono auto-linker facility is never triggered. A simple fix would be to have <boost/tss.hpp> directly include <boost/thread.hpp> instead; I've tested this and it works.

For your reference here are the full include dependencies of the example of comment 23 which demonstrate the lack of the chrono include:

1>------ Build started: Project: ConsoleApplication4, Configuration: Debug Win32 ------
1>Build started 19.08.2012 22:30:40.
1>InitializeBuildStatus:
1>  Creating "Debug\ConsoleApplication4.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1>  ConsoleApplication4.cpp
1>  Note: including file: c:\users\zenju\documents\visual studio 11\projects\consoleapplication4\consoleapplication4\stdafx.h
1>  Note: including file:  c:\users\zenju\documents\visual studio 11\projects\consoleapplication4\consoleapplication4\targetver.h
1>  Note: including file:   C:\Program Files (x86)\Windows Kits\8.0\Include\shared\SDKDDKVer.h
1>  Note: including file:  C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdio.h
1>  Note: including file:   C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:    C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\sal.h
1>  Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\ConcurrencySal.h
1>  Note: including file:    C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\vadefs.h
1>  Note: including file:   C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\swprintf.inl
1>  Note: including file:  C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\tchar.h
1>  Note: including file:   C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:   C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\wchar.h
1>  Note: including file:    C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:    C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\wtime.inl
1>  Note: including file: C:\Program Files\C++\boost\boost/thread/tss.hpp
1>  Note: including file:  C:\Program Files\C++\boost\boost/thread/detail/config.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/user.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/select_compiler_config.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/compiler/visualc.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/select_stdlib_config.hpp
1>  Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\cstddef
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\yvals.h
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xkeycheck.h
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\use_ansi.h
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stddef.h
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:     C:\Program Files\C++\boost\boost/config/no_tr1/utility.hpp
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\utility
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xstddef
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xtr1common
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdlib.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\limits.h
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\iosfwd
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\cstdio
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\cstring
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string.h
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\cwchar
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdbg.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\type_traits
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xrefwrap
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/stdlib/dinkumware.hpp
1>  Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\typeinfo
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\exception
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\eh.h
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\malloc.h
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/select_platform_config.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/platform/win32.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/suffix.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/detail/workaround.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/thread/detail/platform.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/requires_threads.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/config/auto_link.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/version.hpp
1>  Note: including file:  C:\Program Files\C++\boost\boost/shared_ptr.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/smart_ptr/shared_ptr.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/no_tr1/memory.hpp
1>  Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\memory
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xmemory
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xmemory0
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\cstdlib
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\limits
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\ymath.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\cfloat
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\float.h
1>  Note: including file:           C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:           C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtwrn.h
1>  Note: including file:            C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\climits
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\cmath
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\math.h
1>  Note: including file:           C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xtgmath.h
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\new
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xutility
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xatomic0.h
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\intrin.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\setjmp.h
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\immintrin.h
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\wmmintrin.h
1>  Note: including file:           C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\nmmintrin.h
1>  Note: including file:            C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\smmintrin.h
1>  Note: including file:             C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\tmmintrin.h
1>  Note: including file:              C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\pmmintrin.h
1>  Note: including file:               C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\emmintrin.h
1>  Note: including file:                C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xmmintrin.h
1>  Note: including file:                 C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\mmintrin.h
1>  Note: including file:                  C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\ammintrin.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\mm3dnow.h
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\mmintrin.h
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdint.h
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:    C:\Program Files\C++\boost\boost/assert.hpp
1>  Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\assert.h
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\iostream
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\istream
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\ostream
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\ios
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocnum
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\streambuf
1>  Note: including file:           C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xiosbase
1>  Note: including file:            C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocale
1>  Note: including file:             C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\stdexcept
1>  Note: including file:              C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xstring
1>  Note: including file:             C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocinfo
1>  Note: including file:              C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xlocinfo.h
1>  Note: including file:               C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\ctype.h
1>  Note: including file:                C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:               C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\locale.h
1>  Note: including file:                C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:             C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xdebug
1>  Note: including file:             C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xfacet
1>  Note: including file:            C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\system_error
1>  Note: including file:             C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\cerrno
1>  Note: including file:              C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\errno.h
1>  Note: including file:               C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:            C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\share.h
1>  Note: including file:     C:\Program Files\C++\boost\boost/current_function.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/checked_delete.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/throw_exception.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/exception/detail/attribute_noreturn.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/detail/workaround.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/exception/exception.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/smart_ptr/detail/shared_count.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/smart_ptr/bad_weak_ptr.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/smart_ptr/detail/sp_counted_base.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/smart_ptr/detail/sp_has_sync.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/smart_ptr/detail/sp_counted_base_w32.hpp
1>  Note: including file:       C:\Program Files\C++\boost\boost/detail/interlocked.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:       C:\Program Files\C++\boost\boost/detail/workaround.hpp
1>  Note: including file:       C:\Program Files\C++\boost\boost/detail/sp_typeinfo.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/smart_ptr/detail/sp_counted_impl.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/detail/workaround.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config/no_tr1/memory.hpp
1>  Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\functional
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\xfunctional
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\tuple
1>  Note: including file:    C:\Program Files\C++\boost\boost/detail/workaround.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/smart_ptr/detail/sp_convertible.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/smart_ptr/detail/spinlock_pool.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/smart_ptr/detail/spinlock.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/smart_ptr/detail/spinlock_w32.hpp
1>  Note: including file:       C:\Program Files\C++\boost\boost/smart_ptr/detail/yield_k.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/memory_order.hpp
1>  Note: including file:    C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\algorithm
1>  Note: including file:    C:\Program Files\C++\boost\boost/smart_ptr/detail/operator_bool.hpp
1>  Note: including file:  C:\Program Files\C++\boost\boost/thread/detail/thread_heap_alloc.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/thread/detail/platform.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/thread/win32/thread_heap_alloc.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/thread/win32/thread_primitives.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/assert.hpp
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\assert.h
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:     C:\Program Files\C++\boost\boost/thread/exceptions.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/thread/detail/config.hpp
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\string
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\iterator
1>  Note: including file:      C:\Program Files\C++\boost\boost/system/system_error.hpp
1>  Note: including file:       C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\cassert
1>  Note: including file:        C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\assert.h
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:       C:\Program Files\C++\boost\boost/system/error_code.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/system/config.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/system/api_config.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/config/auto_link.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/cstdint.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/assert.hpp
1>  Note: including file:         C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\assert.h
1>  Note: including file:          C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:        C:\Program Files\C++\boost\boost/operators.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/iterator.hpp
1>  Note: including file:          C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/detail/workaround.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/noncopyable.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/utility/enable_if.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/cerrno.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/config/abi_prefix.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/config/abi/msvc_prefix.hpp
1>  Note: including file:        C:\Program Files\C++\boost\boost/config/abi_suffix.hpp
1>  Note: including file:         C:\Program Files\C++\boost\boost/config/abi/msvc_suffix.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/system/error_code.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/config/abi_prefix.hpp
1>  Note: including file:       C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:       C:\Program Files\C++\boost\boost/config/abi/msvc_prefix.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/config/abi_suffix.hpp
1>  Note: including file:       C:\Program Files\C++\boost\boost/config/abi/msvc_suffix.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config/abi_prefix.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/config/abi/msvc_prefix.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config/abi_suffix.hpp
1>  Note: including file:      C:\Program Files\C++\boost\boost/config/abi/msvc_suffix.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/assert.hpp
1>  Note: including file:     C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\assert.h
1>  Note: including file:      C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/abi_prefix.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config/abi/msvc_prefix.hpp
1>  Note: including file:    C:\Program Files\C++\boost\boost/config/abi_suffix.hpp
1>  Note: including file:     C:\Program Files\C++\boost\boost/config/abi/msvc_suffix.hpp
1>  Note: including file:  C:\Program Files\C++\boost\boost/config/abi_prefix.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/config.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/config/abi/msvc_prefix.hpp
1>  Note: including file:  C:\Program Files\C++\boost\boost/config/abi_suffix.hpp
1>  Note: including file:   C:\Program Files\C++\boost\boost/config/abi/msvc_suffix.hpp
1>libboost_thread-vc110-mt-gd-1_50.lib(thread.obj) : error LNK2019: unresolved external symbol "public: static class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<__int64,class boost::ratio<1,10000000> > > __cdecl boost::chrono::system_clock::now(void)" (?now@system_clock@chrono@boost@@SA?AV?$time_point@Vsystem_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0JIJGIA@@boost@@@23@@23@XZ) referenced in function "public: bool __thiscall boost::thread::try_join_until(class boost::chrono::time_point<class boost::chrono::system_clock,class boost::chrono::duration<__int64,class boost::ratio<1,1000000000> > > const &)" (?try_join_until@thread@boost@@QAE_NABV?$time_point@Vsystem_clock@chrono@boost@@V?$duration@_JV?$ratio@$00$0DLJKMKAA@@boost@@@23@@chrono@2@@Z)
1>C:\Users\ZenJu\documents\visual studio 11\Projects\ConsoleApplication4\Debug\ConsoleApplication4.exe : fatal error LNK1120: 1 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:01.30
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

comment:37 Changed 20 months ago by viboes

I will not make tss.hpp depend directly or indirectly to chrono.hpp neither to any other not needed file. As a workaround you can include yourself boost/thread.hpp which will include all the files.

comment:38 follow-up: ↓ 39 Changed 20 months ago by anonymous

No problem, it's your choice how to fix this. But this dependency problem should be addressed.

comment:39 in reply to: ↑ 38 Changed 20 months ago by viboes

Replying to anonymous:

No problem, it's your choice how to fix this. But this dependency problem should be addressed.

I have removed the dependency to boost_chrono from boost_thread

comment:40 Changed 20 months ago by viboes

  • Milestone changed from To Be Determined to Boost 1.52.0

Issue 1: Committed in trunk revision 80123.

Issue 2: Committed in trunk revision 80122.

Changed 20 months ago by viboes

fixes for winows platform

comment:41 Changed 20 months ago by viboes

Committed in trunk [80236].

comment:42 Changed 20 months ago by viboes

I have added [80459] in section

[section:build Using and building the library]

the following that concerns the DateTime? issue.

Boost.Thread depends on some non header-only libraries. 

* Boost.System: This dependency is mandatory and you will need to link with the library.

* Boost.Chrono: This dependency is optional (see below how to configure) and you will need to link with the library if you use some of the time related interfaces.

* Boost.DateTime: This dependency is mandatory, but even if Boost.DateTime is a non header-only library Boost.Thread uses only parts that are header-only, so in principle you should not need to link with the library. 

It seems that there are some IDE (as e.g. Visual Studio) that deduce the libraries that a program needs to link to inspecting the sources. Such IDE could force to link to Boost.DateTime and/or Boost.Chrono.

As the single mandatory dependency is to Boost.System, the following

  bjam toolset=msvc-11.0 --build-type=complete --with-thread 

will install only boost_thread and boost_system. 

Users of such IDE should force the Boost.Chrono and Boost.DateTime build using 

  bjam toolset=msvc-11.0 --build-type=complete --with-thread --with-chrono --with-date_time 

comment:43 Changed 20 months ago by viboes

  • Status changed from reopened to closed
  • Resolution set to fixed

Merged to release [80450]

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.