Skip to content

Check for newlib broken: catopen #45207

@LittleFox94

Description

@LittleFox94
Bugzilla Link 45862
Version unspecified
OS All
CC @mclow

Extended Description

In line 298 of include/__config in libcxx is a check for _NEWLIB_VERSION. Since this header never includes a thing, this macro is not yet defined and the check never finds newlib. Since this function is not available with newlib, compilation fails.

This commit removes the last include in the file which was enough:
6dec6d8

Since that commit is very old, this check is either broken for a very long time or other includes were added and removed since then (searched from the past to until it is broken, not from current backwards).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillalibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.obsoleteIssues with old (unsupported) versions of LLVM

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions