Skip to content

work around libstdc++ <chrono> duration conversion bug #14712

@akyrtzi

Description

@akyrtzi
Bugzilla Link 14340
Version trunk
OS All
Attachments preprocessed file
CC @DougGregor,@efriedma-quic,@zygoloid

Extended Description

The attached preprocessed file would parse without compiler errors, but after r167514 it gives this error:

error: no matching constructor for initialization of 'duration'

Run on clang like this:

$ clang -fsyntax-only main.cpp -std=c++11

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++11clang:frontendLanguage frontend issues, e.g. anything involving "Sema"libstdc++GNU libstdc++ C++ standard libraryworksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions