Skip to content

audit C ABI compatibility for extern enums #977

Open
@andrewrk

Description

@andrewrk
  • do some C environments let you specify the tag type?
  • do some C environments make enums be c_long if you use a long const value or c_longlong if you use a long long const value?
  • should specifying tag type of extern enums be a compile error?

What it looks like to solve this issue is investigate these questions for all our target C environments:

  • gnu
  • msvc
  • cygwin
  • mysys? (windows + gnu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions