Question
NDEBUG doesn't seem to work as expected
I'm working through some code size optimization efforts and noticed that our list file includes some calls to __assert_func. We're not using asserts in our codebase so I'm guessing one of the standard libs is using it. I checked and we have defined NDEBUG in the project properties. If I redefine __assert_func as an empty function, the calls disappear and we get back 4kB of flash. Any idea why it's being linked?
