https://bugs.kde.org/show_bug.cgi?id=370033
Bug ID: 370033 Summary: kinit_mac.mm fails to compile Product: frameworks-kinit Version: unspecified Platform: Homebrew (Mac OS X) URL: http://pastebin.com/rcgHFejc OS: OS X Status: UNCONFIRMED Severity: grave Priority: NOR Component: general Assignee: fa...@kde.org Reporter: romanbera...@icloud.com CC: kdelibs-b...@kde.org When I try to compile kinit-5.26.0 with clang on OS X, I get a bunch of "cannot use [try|catch|throw] with exceptions disabled" error on kinit_mac.mm. These errors are raised because of a bug in Qt. Qt's macros for exception handling are defined as a noop only if __EXCEPTIONS is undefined. This check is, however, not valid for Objective-C++ files and the solution is probably to check for __cxx_exceptions instead. Reproducible: Always Steps to Reproduce: 1. Run cmake on kinit source 2. Run make 3. Wait for an error to come Actual Results: make: *** [all] Error 2 Expected Results: Succesful build -- You are receiving this mail because: You are watching all bug changes.