Am Montag, 13. März 2017 17:43 CET, MLutz <[email protected]> schrieb:
> Hi, currently I'm trying to compile again 2.1, but there is one annoying
> error, that didn't occur before:
>
> note.h:108: Error: ‘STRING_NONE’ was not declared in this scope
> int string { STRING_NONE };
> note.h:108: Error: cannot convert ‘<brace-enclosed initializer list>’ to
> ‘int’ in initialization
> int string { STRING_NONE };
Hmm, static constants instead of enums and braced initializers are C++11
features.
Might it be possible that somehow you don't compile with C++11 enabled?
HTH Ralf Mattes
> Can someone help?
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/Compiling-2-1-problem-with-STRING-NONE-tp7580178.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Mscore-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Mscore-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mscore-developer