Re: [Boost-bugs] [Boost C++ Libraries] #4315: gcc 4.4 Warning: inline ... declared as dllimport: attribute ignored

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4315: gcc 4.4 Warning: inline ... declared as dllimport: attribute ignored
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-04 00:59:17


#4315: gcc 4.4 Warning: inline ... declared as dllimport: attribute ignored
--------------------------------------+-------------------------------------
  Reporter: viboes | Owner: anthonyw
      Type: Patches | Status: new
 Milestone: Boost 1.48.0 | Component: thread
   Version: Boost Development Trunk | Severity: Cosmetic
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Changes (by feiyunw@…):

 * cc: feiyunw@… (added)
  * version: Boost 1.44.0 => Boost Development Trunk
  * milestone: Boost 1.43.0 => Boost 1.48.0

Comment:

 Component thread is one of the two boost components which generates
 warnings when compiled in MinGW/MSYS with gcc-4.5.2:
 {{{
      11 ./boost/thread/win32/thread_heap_alloc.hpp:59:40: warning: inline
 function 'void* boost::detail::allocate_raw_heap_memory(unsigned int)'
 declared as dllimport: attribute ignored
      11 ./boost/thread/win32/thread_heap_alloc.hpp:69:39: warning: inline
 function 'void boost::detail::free_raw_heap_memory(void*)' declared as
 dllimport: attribute ignored
      10 ./boost/thread/win32/shared_mutex.hpp:50:99: warning:
 dereferencing type-punned pointer will break strict-aliasing rules
      10 ./boost/thread/win32/shared_mutex.hpp:51:52: warning:
 dereferencing type-punned pointer will break strict-aliasing rules
 }}}
 The preceding numbers are the numbers of occurrence.[[BR]]
 I am sorry that this one is not solved for more than one year.

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

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