Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress Generator warnings #596

Merged

Conversation

samdeane
Copy link
Contributor

@samdeane samdeane commented Oct 29, 2024

Disabled the generator's no support for... warnings by default.

These tend to be a bit noisy:

Generator/default_value: no support for [Variant] = 0
Generator/default_value: no support for [Variant] = 0
Generator/default_value: no support for [Variant] = 0
Generator/default_value: no support for [typedarray::RDPipelineSpecializationConstant] = Array[RDPipelineSpecializationConstant]([])
Generator/default_value: no support for [typedarray::RDPipelineSpecializationConstant] = Array[RDPipelineSpecializationConstant]([])

They can be enabled by defining WARN_MISSING:

  • by adding "-Xswiftc" "-D" "-Xswiftc" "WARN_MISSING" to the build arguments when building with SPM
  • by adding swiftSettings: [.define("WARN_MISSING")], to the Generator target
  • by doing the equivalent in Xcode using the Swift custom flags settings

@migueldeicaza
Copy link
Owner

Thanks! I had forgotten to remove those when I filed the companion bug:

#585

@migueldeicaza migueldeicaza merged commit bdfe9fc into migueldeicaza:main Oct 29, 2024
@samdeane samdeane deleted the disable-generator-warnings branch November 1, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants