The recent change from "enum AccidentalVal" to C++11 style "enum class
AccidentalVal : signed char" broke my self-built version (OS X 10.7.5, Xcode
4.6.3, Apple LLVM version 4.2). The reason is that enum class comparisons
(at least for AccidentalVal, possibly for more enum classes) do not work.
This causes the assert in libmscore/key.h, line 93 to fail for any note with
an accidental.

The most recent nightly build runs OK for me, so I am wondering if this is a
compiler bug. What O/S version and compiler are used for the OS X nightly
builds ?

In case any C++11 / OS X guru is listening, would this be a coding error or
a compiler bug ? Do we need to fix MuseScore source code in other areas to
prevent similar issues ?

Details are in issue #25910.



--
View this message in context: 
http://dev-list.musescore.org/Issue-with-enum-class-on-OS-X-tp7578796.html
Sent from the MuseScore Developer mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to