Skip to content

Further work to support C++ Exceptions #5624

Open
@devyte

Description

@devyte

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: All
  • Core Version: >= 5.2.0-beta3
  • Development Env: All
  • Operating System: All

Settings in IDE

  • Module: All
    -Exceptions: Enabled

Problem Description

C++ Exceptions are now implemented. However, they are disabled by default. Enabling Exceptions increases bin size by a huge amount, up to 200KB depending on the application and libs linked in. This issue is meant to track further work to mitigate that.

  • Investigate the reason for the big bin size increase
  • Add noexcept to functions that can't throw
  • figure out other ways to reduce bin size, if at all possible

Related to #1351

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions