Opened 4 years ago
Last modified 2 years ago
#62688 new defect
Increase minimum C11 compatible compiler
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.6.99 |
Keywords: | Cc: | chrstphrchvz (Christopher Chavez), mascguy (Christopher Nielsen) | |
Port: |
Change History (4)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 2 years ago by chrstphrchvz (Christopher Chavez)
Note that there are some ports which claim statomic.h is available as of Xcode clang 602 (Xcode 6.3) rather than Xcode clang 700 (Xcode 7.0).
One alternative might be to add additional options compiler.requires_stdatomic_h
etc. (similar to compiler.thread_local_storage
) to further restrict compiler selection. I‘m not certain this would be less total work to maintain, and awareness/adoption of it (among other things documented at wiki:CompilerSelection) likely depends on port maintainers’ awareness.
comment:3 Changed 2 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
Note: See
TracTickets for help on using
tickets.
According to wikipedia implementations are not required to support complex.h, stdatomic.h, and threads.h. So I don't know. Should we up the minimum C11 compiler to clang 700, since that added stdatomic.h which several ports require, or should ports that require it be forced to blacklist clang < 700 manually?