Skip to content
Success

Changes

Summary

  1. firmware(libosmocore): add missing 'if !EMBEDDED' (details)
  2. firmware(libosmocore): update function header (details)
Commit b4efabae7c2082d62135ea9b08527854d904cad8 by Oliver Smith
firmware(libosmocore): add missing 'if !EMBEDDED'

Fix compilation with GCC 14.2, which otherwise fails with errors like:

../../src/utils.c:49:22: error: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]

Change-Id: Ia7fdd5edd5edd1ee126dfbcaa75b3d988143f2e1
The file was modifiedsrc/shared/libosmocore/src/logging.c
The file was modifiedsrc/shared/libosmocore/src/utils.c
Commit 5d36edfcb4e3a9524bc1d51621c8a40d5e516ef2 by Oliver Smith
firmware(libosmocore): update function header

Update the function header to be the same as in
target/firmware/include/string.h, so it compiles successfully with
GCC 14.2. Otherwise:

  lib/strcmp.c:5:1: error: return type defaults to 'int' [-Wimplicit-int]
      5 | strcmp(s1, s2)
        | ^~~~~~

Change-Id: Ic601d84c3366d9aec661663c80ba9d7586510d63
The file was modifiedsrc/target/firmware/lib/strcmp.c