Skip to content

Recent clang with C++23 enabled gives warnings when compiling IDL files #2420

@jwillemsen

Description

@jwillemsen

Recent clang versions with C++23 enabled gives warnings when compiling IDL files because clang recognizes module as C++ keyword and thinks we are using C++ modules.

Warning TAO_Ext.pidl 31(10): '#include <filename>' attaches the declarations to the named module 'CORBAlocalinterfaceCurrent', which is not usually intended; consider moving that directive before the module declaration [-Winclude-angled-in-module-purview]
   31 | #include <tao/TimeBase.pidl>
      |          ^

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