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

ci: Enable newt test on Mac #3332

Merged
merged 3 commits into from
Oct 30, 2024
Merged

ci: Enable newt test on Mac #3332

merged 3 commits into from
Oct 30, 2024

Commits on Oct 30, 2024

  1. ci: Enable newt test on Mac

    We properly support 64bit in native target now so those can be
    re-enabled.
    sjanc committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    9f8f647 View commit details
    Browse the repository at this point in the history
  2. encoding/json: Use unsigned type for bitfield

    Enabling -Wsingle-bit-bitfield-constant-conversion compains.
    repos/apache-mynewt-core/encoding/json/src/json_encode.c:187:27: error:
        implicit truncation from 'int' to a one-bit wide bit-field changes
        value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
    562
        encoder->je_wr_commas = 1;
    563
                              ^ ~
    564
    repos/apache-mynewt-core/encoding/json/src/json_encode.c:199:27: error:
        implicit truncation from 'int' to a one-bit wide bit-field changes
        value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
    565
        encoder->je_wr_commas = 1;
    566
                              ^ ~
    567
    repos/apache-mynewt-core/encoding/json/src/json_encode.c:233:27: error:
        implicit truncation from 'int' to a one-bit wide bit-field changes
        value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
    568
        encoder->je_wr_commas = 1;
    569
                              ^ ~
    570
    repos/apache-mynewt-core/encoding/json/src/json_encode.c:244:27: error:
        implicit truncation from 'int' to a one-bit wide bit-field changes
        value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion]
    571
        encoder->je_wr_commas = 1;
    572
                              ^ ~
    sjanc committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    2369f66 View commit details
    Browse the repository at this point in the history
  3. util/cbmem: Fix test case 3 compilation

    Removed unused variable
    
    repos/apache-mynewt-core/util/cbmem/selftest/src/testcases/
        cbmem_test_case_3.c:29:9: error: variable 'i' set but not
        used [-Werror,-Wunused-but-set-variable]
    4941
        int i;
    4942
            ^
    4943
    1 error generated.
    sjanc committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    9355e0c View commit details
    Browse the repository at this point in the history