Skip to content

C6 Code not building from managed_components/esp_host code #120

@deepakkumarbinwal

Description

@deepakkumarbinwal

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

Should be able to compile it

Actual behavior (suspected bug)

Showing error related to eso_log_color.h

Error logs or terminal output

components/log/include/esp_log_color.h:100:31: error: ' ' flag used with '%s' gnu_printf format [-Werror=format=]
  100 | #define LOG_COLOR_I           ""

Steps to reproduce the behavior

Just Compile code

Project release version

latest

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

window 11

Shell

ZSH

Additional context

if i replace following
project(network_adapter)
idf_build_set_property(COMPILE_OPTIONS "-fdiagnostics-color=always" APPEND)

with

project(network_adapter)
idf_build_set_property(COMPILE_OPTIONS "-fdiagnostics-color=always" APPEND)
idf_build_set_property(COMPILE_OPTIONS "-Wno-format" APPEND)

it works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions