v76:-Wno-dangling-else breaks older XCode

Monkey Forums/Monkey Bug Reports/v76:-Wno-dangling-else breaks older XCode

AdamRedwoods(Posted 2014) [#1]
adding "-Wno-dangling-else" breaks older XCode. I think i am on 4.6.x and Apple's version of g++( v4.2) does not silently ignore unknown "-W" so this effectively breaks that target.

xcode 5 requires osx 10.8 or higher, which my lowly mac mini cannot support.
effectively, this breaks cpp target development on older macs.


SLotman(Posted 2014) [#2]
Problem is: after February Apple will not accept programs compiled with anything prior to XCode 5, so you may be out of luck there...


AdamRedwoods(Posted 2014) [#3]
for desktop? xcode 4.6 is less than a year old, i don't see how people can support this type of behavior from companies.

EDIT:
I should also note that the switch -arch i386 forces 32-bit, which isn't highly regarded, and may even be disallowed soon by the macstore. oy, problems. very restrictive, i'd rather see a more flexible build environment.


MikeHart(Posted 2014) [#4]
It is broken for me in V77d and XCode 5.0.2 too.


marksibly(Posted 2014) [#5]
Works fine for me in 5.0.2 (5A3005) - what target? OS? Any odd project settings?


MikeHart(Posted 2014) [#6]
OSX 10.8.6

Odd settings? Don't know. Does transcc.monkey has some?


marksibly(Posted 2014) [#7]
Ok that's weird, seems like OS X version has something to do with compiler used (I have 10.9) - I would have thought it was all up to xcode.

Anyway, I'll take out this warning for now.