Skip to content

Relinquish the alignof keyword in rustrt #1644

Closed
@brson

Description

@brson

We define alignof() in the runtime but alignof is a C++11 keyword. Rename this and remove the -Wno-c++11-compat flag from the clang build flags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsC-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions