Skip to content

[SR-328] Some Glibc functions not imported because they depend on feature test macros #42950

Open
@swift-ci

Description

@swift-ci
Previous ID SR-328
Radar None
Original Reporter dunkelstern (JIRA User)
Type Bug
Environment

Ubuntu 15.10

Additional Detail from JIRA
Votes 1
Component/s Compiler, Standard Library
Labels Bug, ClangImporter, Linux
Assignee None
Priority Medium

md5: fe85e3a129e976d855f0176e874a827d

Issue Description:

Try using strptime or lrand48 for example, they need the C compiler macro _XOPEN_SOURCE defined to work.

see: man 7 feature_test_macros for further examples

Metadata

Metadata

Assignees

No one assigned

    Labels

    LinuxPlatform: LinuxbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions