-
Notifications
You must be signed in to change notification settings - Fork 390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssize_t: redefinition; different basic types #2209
Comments
There is a I think we can move that definition to Might also be a good idea to use Do you want to create a PR? |
Yes, I will create a PR. Which branch should the PR be based on? Originally, I used |
Can you target the master branch? Not sure we will do another 2.0.x release since the 3.0.0 release is not far away. |
…compatibility This change updates the ssize_t type to iox_ssize_t in Windows-specific files to resolve a compatibility issue. It ensures consistent type usage and includes the necessary headers for type definitions.
Reported problem with ssize_t redefinition causing different basic types
Updated ssize_t to iox_ssize_t in socket.hpp
Change the type definition of mqd_t from int to iox_ssize_t
…ceive The return type has been modified from ssize_t to mqd_t
Replaced standard ssize_t with iox_ssize_t
The unused types.hpp header has been removed from unistd.hpp
iox-eclipse-iceoryx#2209 Fix include and change ssize_t to iox_ssize_t
iox-#2209 Refactor ssize_t to iox_ssize_t for Windows compatibility
Required information
Operating system:
Windows 11
Compiler version:
Visual Studio 2022 Community
Eclipse iceoryx version:
v2.0.3
Observed result or behaviour:
Error C2371:
ssize_t
: redefinition; different basic typesThe iceoryx definition
using ssize_t = size_t;
versus that ofcpp-httplib
:Expected result or behaviour:
Is there anyway around this redefinition of
ssize_t
along with this header-only library:cpp-httplib
?The text was updated successfully, but these errors were encountered: