sparkle fails to build with clang due to -Werror

Bug #611564 reported by Jeremy Sequoia
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sparkle
Fix Committed
Medium
Unassigned

Bug Description

-Werror in WARNING_CFLAGS in Configurations/ConfigCommon.xcconfig causes sparkle to not build when using clang.

The most obvious problem is that an unsupported -W flag is included. After removing "-Wlarger-than-32768" from WARNING_CFLAGS, we still get a bunch of warnings. See the attached build log

Revision history for this message
Jeremy Sequoia (jeremyhu) wrote :

Attaching the build log from:

xcodebuild -project Sparkle.xcodeproj -configuration Release ARCHS="i386 x86_64" >& build.log

after removing -Wlarger-than-32768

Revision history for this message
Andy Matuschak (andymatuschak) wrote :

Thanks. Looks like a few behaviors are slightly different with Clang. No big deal. Let's switch to Clang while we're at it.

Fixed in 611564

Changed in sparkle:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 1.5
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.