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

Subject: [Boost-bugs] [Boost C++ Libraries] #4315: gcc 4.4 Warning: inline ... declared as dllimport: attribute ignored
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-08 23:30:28


#4315: gcc 4.4 Warning: inline ... declared as dllimport: attribute ignored
------------------------------+---------------------------------------------
 Reporter: viboes | Owner: anthonyw
     Type: Support Requests | Status: new
Milestone: Boost 1.43.0 | Component: thread
  Version: Boost 1.44.0 | Severity: Cosmetic
 Keywords: |
------------------------------+---------------------------------------------
 The following warnings appears on gcc4.4 mingw:

 gcc.compile.c++ ..\..\..\bin.v2\libs\thread\test\test_thread_id.test\gcc-
 mingw-4.4.0\debug\threading-multi\test_thread_id.o
 In file included from ..\..\../boost/thread/win32/thread_data.hpp:12,
                  from ..\..\../boost/thread/thread.hpp:15,
                  from test_thread_id.cpp:5:
 ..\..\../boost/thread/win32/thread_heap_alloc.hpp:59: warning: inline
 function 'void* boost::detail::allocate_raw_heap_memory(unsigned int)'
 declared as dllimport: attribute ignored
 ..\..\../boost/thread/win32/thread_heap_alloc.hpp:69: warning: inline
 function 'void boost::detail::free_raw_heap_memory(void*)' declared as
 dllimport: attribute ignored

 Can a inline function be declared as dllimport?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4315>
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:03 UTC