Closed Bug 576355 Opened 11 years ago Closed 11 years ago
Make configure work with clang
Patch attached. Two issues here: 1. clang doesn't completely support using -Wp to pass command-line options to the preprocessor; this patch uses the proper gcc frontend options instead. 2. grepping for a specific response to using -fno-handle-exceptions as an argument isn't really a good idea; since Mozilla hasn't supported g++ 2.8 for a *very* long time, just use -fno-exceptions unconditionally.
Attachment #455533 - Flags: review?(ted.mielczarek)
Attachment #455533 - Flags: review?(ted.mielczarek) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3b2
This patch works now for a few days without any issues, so I think we can make the same changes to comm-central. So we can also build Thunderbird and SeaMonkey with Clang. I've made this patch by Copy&Paste and tested it with Clang and GCC (on Mac). Is it OK like that?
Attachment #456569 - Flags: review?(bugspam.Callek)
Attachment #456569 - Flags: review?(bugspam.Callek) → review+
Happily comm-central is open now, so can anyone checkin the missing comm-central part, please. Thanks! :-)
Whiteboard: [c-n c-c]
You need to log in before you can comment on or make changes to this bug.