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

csim: Fix C23 compatability warning #483

Merged
merged 1 commit into from
May 23, 2024

Commits on May 20, 2024

  1. csim: Fix C23 compatability warning

    The plat_get_16_random_bits was missing its unit argument, which
    produces the following warning:
    
    ```
    generated_definitions/c/riscv_model_RV64.c:28041:34: warning: passing arguments to 'plat_get_16_random_bits' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
      zseed = plat_get_16_random_bits(UNIT);
    ```
    
    This commit adds the appropriate argument to the function in the C simulator
    Alasdair committed May 20, 2024
    Configuration menu
    Copy the full SHA
    d1a2d83 View commit details
    Browse the repository at this point in the history