id summary reporter owner description type status milestone component version severity resolution keywords cc 6652 Boost.Thread shared_mutex.hpp:50:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] flavio.perri@… viboes "I'm using the Boost.Thread library since 1.47. When including my compiler (mingw 4.6) always writes a number of annoying warnings like this: ../boost/thread/win32/shared_mutex.hpp:50:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] another warning is: /boost/thread/win32/shared_mutex.hpp:95:33: warning: missing initializer for member 'boost::shared_mutex::state_data::shared_waiting' [-Wmissing-field-initializers] Same warnings in 1.47, 1.48 and 1.49 using the same compiler. The gcc options used: -pedantic -ansi -std=gnu++0x -Wextra -fpermissive" Bugs closed Boost 1.54.0 thread Boost 1.49.0 Problem fixed thread mutex warning