On 17.05.2013 17:27, Nicolas Froment wrote:
>
> In libmscore/harmony.cpp:
>
> > @@ -119,6 +125,8 @@ void Harmony::resolveDegreeList()
> >        _baseTpc    = h._baseTpc;
> >        _id         = h._id;
> >        _degreeList = h._degreeList;
> > +      _parsedForm = NULL;
>
> I'm not really sure why, but we don't use NULL. 0 is prefered.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/musescore/MuseScore/pull/363/files#r4278210>.
>
NULL is "C" code. In C++ you always write "0" , even for a null pointer. 
If this is ambiguous you need to write a cast like (char*) 0.
Things changed in the new c++11 standard.  It introduces the new keyword 
"nullptr" which should be used for null pointer which makes it clear to 
the compiler what you meant.