Skip to content

clang's definition of int64_t in stdint.h is wrong on x86-64 Linux #4564

@efriedma-quic

Description

@efriedma-quic
Bugzilla Link 4192
Resolution FIXED
Resolved on Feb 22, 2010 12:49
Version unspecified
OS Linux

Extended Description

Testcase (x86-64 Linux):
#include <stdint.h>
int64_t x;
long x;

Compiles successfully with gcc and clang without -ffreestanding; fails with "clang -ffreestanding". We probably want clang's stdint.h to be consistent with the system headers here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:headersHeaders provided by Clang, e.g. for intrinsics

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions