Fast Semihosting and Embedded Profiler Warnings

Sysprogs forums Forums VisualGDB Fast Semihosting and Embedded Profiler Warnings

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10670
    borbmizzet
    Participant

    There are a lot of annoying compiler warnings from the fast semihosting and embedded profiler files when compiling with the flags “-Wall -Wextra -Wpedantic”.

    Unused parameters can be dealt with using “__attribute__((unused))”. That’s the only one I know off the top of my head.

    #10685
    support
    Keymaster

    Hi,

    Thanks, we are aware of this. As those warning don’t really have any side effects and don’t appear unless the extra warnings are enabled, we recommend simply suppressing them via per-file settings.

    If you don’t want to do that, you can send us the patch adding the necessary attributes and we will include it in our release branch, but we don’t have any plans of addressing them on our side, as we prioritize other features over it. Sorry.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.