This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM Compiler 6.11 bug: weak variable debug info error

Bug founded on the new ARM Compiler 6.11 release, not before.

a.cpp:

b.cpp:

build with command:

then output:

using '__attribute__((weak)) instead of '[[gnu::weak]]' gets same result.

Only build without '-g' flag:

then no error happens.

0