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

Review new Zig and Clang command line flags that may need to be supported #82

Open
alexrp opened this issue Aug 4, 2023 · 4 comments
Open
Assignees
Labels
area: documentation Issues related to the documentation. area: samples Issues related to sample projects. area: sdk Issues related to the MSBuild SDK. area: tasks Issues related to MSBuild tasks. state: approved Feature requests and housekeeping tasks that have been approved. type: feature Issues that are classified as feature requests.
Milestone

Comments

@alexrp
Copy link
Sponsor Member

alexrp commented Aug 4, 2023

Since we skipped over Zig 0.10.0 and 0.10.1, we've now jumped from Clang 13 to 16. There are likely some command line flags added between these versions that we will want to support. Similarly for zig build-lib/zig build-exe.

@alexrp alexrp added type: feature Issues that are classified as feature requests. state: deliberation Issues that require considerable deliberation and/or discussion before a resolution can be found. area: documentation Issues related to the documentation. area: sdk Issues related to the MSBuild SDK. area: samples Issues related to sample projects. area: tasks Issues related to MSBuild tasks. labels Aug 4, 2023
@alexrp alexrp added this to the v4.1 milestone Aug 4, 2023
@alexrp alexrp self-assigned this Aug 4, 2023
@alexrp
Copy link
Sponsor Member Author

alexrp commented Aug 4, 2023

@alexrp alexrp added state: approved Feature requests and housekeeping tasks that have been approved. and removed state: deliberation Issues that require considerable deliberation and/or discussion before a resolution can be found. labels Aug 4, 2023
@alexrp alexrp modified the milestones: v4.1, v4.2, v5.0 Jan 2, 2024
@alexrp
Copy link
Sponsor Member Author

alexrp commented Jan 4, 2024

Just need to review changes to warning flags in Clang now.

@alexrp
Copy link
Sponsor Member Author

alexrp commented Apr 30, 2024

  • -Warray-parameter is new in Clang 15. Off by default. Grouped under -Wmost and by extension -Wall. No action.
  • -Wcast-function-type-strict is new in Clang 16. Off by default. Grouped under -Wcast-function-type and by extension -Wextra. No action.
  • -Wdeprecated-literal-operator is new in Clang 17. Off by default. Grouped under -Wdeprecated. No action.
  • -Wdeprecated-non-prototype is new in Clang 15. On by default. Grouped under -Wstrict-prototypes. No action.
  • -Wdeprecated-redundant-constexpr-static-def is new in Clang 17. Off by default. Grouped under -Wdeprecated. No action.
  • -Wgnu-line-marker is new in Clang 15. Off by default. Grouped under -Wgnu. No action.
  • -Wincompatible-function-pointer-types-strict is new in Clang 16. Off by default. We should enable it at level 4 and above.
  • -Winvalid-utf8 is new in Clang 15. Off by default. We should enable it at level 1 and above.
  • -Wsingle-bit-bitfield-constant-conversion is new in Clang 16. On by default. Grouped under -Wbitfield-constant-conversion. No action.
  • -Wunreachable-code-generic-assoc is new in Clang 15. On by default. Grouped under -Wunreachable-code. No action.
  • -Wunsafe-buffer-usage is new in Clang 17. Off by default. We should enable it under a new BufferAnalysis property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: documentation Issues related to the documentation. area: samples Issues related to sample projects. area: sdk Issues related to the MSBuild SDK. area: tasks Issues related to MSBuild tasks. state: approved Feature requests and housekeeping tasks that have been approved. type: feature Issues that are classified as feature requests.
Development

No branches or pull requests

1 participant