Skip to content

bugprone-exception-escape in node_main.cpp.in #1890

@alsora

Description

@alsora

Bug report

Hi, running clang-tidy on a project that uses rclcpp_components causes a bugprone exception escape error in the automatically generated main files (node_main.cpp.in).

warning: an exception may be thrown in function 'main' which should not throw exceptions [bugprone-exception-escape]

Not sure which line can cause an exception, probably either the factory or the class loader.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions