Bug 370033

Summary: kinit_mac.mm fails to compile
Product: [Frameworks and Libraries] frameworks-kinit Reporter: Curly Bracket <romanberanek>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED WORKSFORME    
Severity: grave CC: kdelibs-bugs
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
URL: http://pastebin.com/rcgHFejc
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Curly Bracket 2016-10-05 11:09:25 UTC
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
Comment 1 Justin Zobel 2022-10-26 03:07:09 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-11-10 05:12:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-11-25 05:22:34 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!