BUG: release build missing NDEBUG define
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-09 8:32 AM
In projects generated by CubeMX, the release build is missing predefined preprocessor symbol NDEBUG. This is part of the C/C++ standard for decades (implicitly in the assert.h specification). Lots of existing code depends on this symbol to exclude debug code for release builds...
There, an easy one to fix!
Please confirm when someone has written a ticket for this,
Thanks,
Best Regards, Dave
- Labels:
-
Bug-report
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-09 5:53 PM
Does CubeMX indeed create projects with separate debug and release configurations?
-- pa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-09 6:19 PM
@Pavel A.​ Yes, its quite tedious to set up configurations. IIRC all other tools like CubeMX I've used create both.
