eclipse-uprotocol / eclipse-uprotocol/up-cpp

issue with non standard types: u_int32_t, u_int16_t

Open
#327 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
29
Forks
33
PR merge metrics
No merged PRs in 30d

Description

With PR #324 non-standard C types were introduced.
it is **u_int32_t, u_int16_t** in methods such as USubscriptionUUriBuilder& USubscriptionUUriBuilder::setUEntityId(u_int32_t ue_id);

it is ok for gcc but it is not ok for QNX compiler like qcc.
It is not a part of the C standard.

Also at the end it casted to uint32_t
v1::UUri::set_ue_id(ue_id);

Better to use standard types like uint32_t

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.