-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[platform] Fix crashes in ConfigurationManager (#11791)
Now that ConfigurationManager is pure virtual it's no longer safe to include or exclude its interface methods using pre-compiler directives as building the ConfigurationManager header using different settings may lead to vtable index mismatch and hard to debug crashes. In fact, the crashes occurred on platforms that use several build systems, e.g. ESP32 (see #11775) or nRF Connect, as GN sets NDEBUG for release builds while nRF Connect examples are by default built with release configuration AND enabled assertions, too.
- Loading branch information
1 parent
18c771e
commit 2330496
Showing
3 changed files
with
11 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters