Skip to content

AIX build fix: Fix return type in get_invalid_systemwide_thread_id#280

Open
tkoecker-dt wants to merge 1 commit into
boostorg:developfrom
tkoecker-dt:aix-build-fix
Open

AIX build fix: Fix return type in get_invalid_systemwide_thread_id#280
tkoecker-dt wants to merge 1 commit into
boostorg:developfrom
tkoecker-dt:aix-build-fix

Conversation

@tkoecker-dt
Copy link
Copy Markdown

The build fails on AIX with the following error:

include/boost/interprocess/detail/os_thread_functions.hpp: In function 'boost::interprocess::ipcdetail::OS_systemwide_thread_id_t boost::interprocess::ipcdetail::get_invalid_systemwide_thread_id()':
include/boost/interprocess/detail/os_thread_functions.hpp:375:12: error: 'thread_t' was not declared in this scope; did you mean 'boost::asio::execution::detail::mapping::thread_t'?
  375 | {  return (thread_t)(-1);  }
      |            ^~~~~~~~
      |            boost::asio::execution::detail::mapping::thread_t

It seems that this is caused by a copy paste error from the Solaris implementation in bfce9f1

The build fails on AIX with the following error:
```
include/boost/interprocess/detail/os_thread_functions.hpp: In function 'boost::interprocess::ipcdetail::OS_systemwide_thread_id_t boost::interprocess::ipcdetail::get_invalid_systemwide_thread_id()':
include/boost/interprocess/detail/os_thread_functions.hpp:375:12: error: 'thread_t' was not declared in this scope; did you mean 'boost::asio::execution::detail::mapping::thread_t'?
  375 | {  return (thread_t)(-1);  }
      |            ^~~~~~~~
      |            boost::asio::execution::detail::mapping::thread_t
```
It seems that this is caused by a copy paste error from the Solaris implementation in     
boostorg@bfce9f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant