Skip to content
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

Fix unknown type name 'u_int16_t' (clang arm-linux-musleabi) #9158

Merged

Conversation

cktakahasi
Copy link
Contributor

This patch fixes color-control-server when cross compiling with clang
for arm-linux-musleabi: "color-control-server.cpp:1535:5: error:
unknown type name 'u_int16_t'; did you mean 'uint16_t'?
u_int16_t startHue = 0x2300;"

Problem

*Fix build error

Change overview

What's in this PR

Testing

How was this tested? (at least one bullet point required)

  • build using yocto hardknott for rpi0w

This patch fixes color-control-server when cross compiling with clang
for arm-linux-musleabi: "color-control-server.cpp:1535:5: error:
unknown type name 'u_int16_t'; did you mean 'uint16_t'?
     u_int16_t startHue = 0x2300;"
@boring-cyborg boring-cyborg bot added the app label Aug 20, 2021
@CLAassistant
Copy link

CLAassistant commented Aug 20, 2021

CLA assistant check
All committers have signed the CLA.

@andy31415
Copy link
Contributor

@cktakahasi - please sign the CLA

@github-actions
Copy link

Size increase report for "esp32-example-build" from dedc71b

File Section File VM
chip-temperature-measurement-app.elf .flash.text -64 -64
Full report output
BLOAT REPORT

Files found only in the build output:
    report.csv

Comparing ./master_artifact/chip-ipv6only-app.elf and ./pull_artifact/chip-ipv6only-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-temperature-measurement-app.elf and ./pull_artifact/chip-temperature-measurement-app.elf:

sections,vmsize,filesize
[Unmapped],0,64
.flash.text,-64,-64

Comparing ./master_artifact/chip-pigweed-app.elf and ./pull_artifact/chip-pigweed-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-bridge-app.elf and ./pull_artifact/chip-bridge-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-shell.elf and ./pull_artifact/chip-shell.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-all-clusters-app.elf and ./pull_artifact/chip-all-clusters-app.elf:

sections,vmsize,filesize
.riscv.attributes,0,-2
.debug_loc,0,-4
.debug_str,0,-10
.debug_info,0,-12

Comparing ./master_artifact/chip-lock-app.elf and ./pull_artifact/chip-lock-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-persistent-storage.elf and ./pull_artifact/chip-persistent-storage.elf:

sections,vmsize,filesize


@woody-apple woody-apple merged commit afe4df5 into project-chip:master Aug 21, 2021
sharadb-amazon pushed a commit to sharadb-amazon/connectedhomeip that referenced this pull request Aug 23, 2021
This patch fixes color-control-server when cross compiling with clang
for arm-linux-musleabi: "color-control-server.cpp:1535:5: error:
unknown type name 'u_int16_t'; did you mean 'uint16_t'?
     u_int16_t startHue = 0x2300;"
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this pull request Sep 23, 2021
This patch fixes color-control-server when cross compiling with clang
for arm-linux-musleabi: "color-control-server.cpp:1535:5: error:
unknown type name 'u_int16_t'; did you mean 'uint16_t'?
     u_int16_t startHue = 0x2300;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants