Skip to content

Conversation

@sksat
Copy link
Member

@sksat sksat commented May 17, 2024

概要

example user のビルドのデフォルト設定を C99 にする

Issue / PR

詳細

  • C89 な C2A user は非常に限定的
    • 存在はするため c2a-core 本体としてのサポートはまだ切らない
  • 一方で、特段の事情が無ければ C2A を C89 としてビルドしたい理由はまったく無い
    • そもそも現状「サポート」しているのは正確には C89 そのものではない(ex: C89 には // のコメントは無い)
    • ↑のため、C89 規格での厳格なチェックにかけると不要な warning が大量に出る
      • warning を無視してしまう理由となっている
  • 標準の stdint.h を使えないのはあまりにも不便(Pre Release (v3.8.0-beta.6): Use standard stdint.h ut-issl/c2a-core#511

検証結果

影響範囲

example user のビルド

補足

@sksat sksat added the tools label May 17, 2024
@sksat sksat self-assigned this May 17, 2024
Base automatically changed from feature/add-c99-build-option-to-examples to main May 17, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant