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

Warnings when building client code with CLANG_WARN_OBJC_INTERFACE_IVARS=YES #278

Open
siegel opened this issue Apr 11, 2023 · 2 comments
Open
Labels

Comments

@siegel
Copy link

siegel commented Apr 11, 2023

Description

When building my PLCrashReporter framework client with CLANG_WARN_OBJC_INTERFACE_IVARS=YES (corresponding to the "Interface Declarations of Instance Variables" GUI build setting in the "Apple Clang - Warnings - Objective-C" section), a total of 73 warnings are generated, corresponding to ivars declared in PLCrashReporter implementation classes.

Repro Steps

Please list the steps used to reproduce your issue.

  1. Open a simple project which links against the PLCrashReporter framework (macOS).
  2. #include <CrashReporter/CrashReporter.h>
  3. Make sure CLANG_WARN_OBJC_INTERFACE_IVARS is set to YES.
  4. Compile.

Details

  1. SDK version 1.11.0
  2. macOS 13.3.1
  3. Xcode version 14.3
  4. using Objective-C
@siegel siegel added the support label Apr 11, 2023
@siegel
Copy link
Author

siegel commented Apr 11, 2023

These warnings are also reproducible as errors when building the framework itself from source with this option turned on.

@MikhailSuendukov
Copy link
Contributor

Hello @siegel , thanks for contacting us, I created a task on our dashboard, we will write here when there is new information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants