Skip to content

Conversation

@steven-johnson
Copy link
Contributor

Newer versions of Xcode trigger -Wbitwise-instead-of-logical for this usage, which we treat as an error

Newer versions of Xcode trigger `-Wbitwise-instead-of-logical` for this usage, which we treat as an error
@steven-johnson steven-johnson requested a review from abadams May 17, 2023 23:16
@steven-johnson
Copy link
Contributor Author

FYI, this only showed up using make, not cmake -- we have slightly different sets of warnings enabled/disabled between the two, apparently. :-/

@steven-johnson steven-johnson changed the title Change & -> && usage Fix various compilation errors with AppleClang 14.0.3 May 18, 2023
@steven-johnson steven-johnson merged commit 2ed955e into main May 18, 2023
@steven-johnson steven-johnson deleted the srj/bitwise-and branch May 18, 2023 00:49
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
* Change & -> && usage

Newer versions of Xcode trigger `-Wbitwise-instead-of-logical` for this usage, which we treat as an error

* Also fix `error: variable 'i' set but not used [-Werror,-Wunused-but-set-variable]`

* Also fix `retrain_cost_model.cpp:419:17: error: variable 'counter' set but not used [-Werror,-Wunused-but-set-variable]`
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.

4 participants