BR: JUCE_NODISCARD's implementation is broken in MSVC

Commit and location: Nodiscard: Add to builder-pattern functions · juce-framework/JUCE@b80927f · GitHub

MSVC doesn’t correctly support __cplusplus: the value will always be 199711L. You should consider using JUCE_CXX17_IS_AVAILABLE instead.

3 Likes

Likely fix in JUCE no longer builds in Xcode 13.2.1

1 Like

Thanks for reporting. Fixed here:

7 Likes