Skip to content

Support systems that do not support inline namespaces #3376

@michaelsafyan

Description

@michaelsafyan

The "version.h" file defines "v1" in "opentelemetry::v1" as an inline namespace.

Unfortunately, there are build systems (and companies) with policies that set compiler flags to disallow the use of inline namespaces. It would be ideal if this library could still build on those systems.

I'm not sure whether the solution is to simply remove the "v1" inner namespace or to make "opentelemetry::v1::" more explicit with a bunch of using directives in the outer namespace that create aliases in the "opentelemetry" level for members of "v1". But it would be ideal if this could be built without the use of inline namespaces.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage/not-reproducibleIndicates an issue can not be reproduced as described.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions