Skip to content

clang's stdint.h is found before platform stdint.h #4213

@llvmbot

Description

@llvmbot
Bugzilla Link 3841
Resolution FIXED
Resolved on Mar 12, 2010 00:57
Version unspecified
OS Linux
Reporter LLVM Bugzilla Contributor
CC @efriedma-quic

Extended Description

Is this intentional?

This breaks glib, in the following roundabout fashion:

ddunbar@frank:tmp$ echo "#include <sys/inotify.h>" | clang -E -x c - | grep flexarr
char name __flexarr;
ddunbar@frank:tmp$ echo "#include <sys/inotify.h>" | gcc -E -x c - | grep flexarr

(__flexarr is a define coming from sys/cdefs.h)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions