grame-cncm / guidolib

Guido project - music score layout engine - music description language
http://guido.grame.fr
Mozilla Public License 2.0
152 stars 34 forks source link

map/set iterators incompatible exception #123

Closed WindowsNT closed 3 years ago

WindowsNT commented 3 years ago

When calling

bool TagParameterMap::checkExist (const TagParameterMap& list) const

Call stack from GuidoString2AR with a non-empty guido string.

Occurs only in debug builds as this is where the iterator debugging occurs. VS 2019, x64 debug build.

dfober commented 3 years ago

It might be due to the fact that it includes non-debug libraries (whatever the config is debug or release). I never tried to compile with VS 2019 too. That might be also a reason. Do you have more information about the exception ?

WindowsNT commented 3 years ago

Line 113 in TagParameterMap.cpp

if (list.find(i->first) == end()) { should be

if (list.find(i->first) == list.end()) {

dfober commented 3 years ago

fixed and pushed to git (dev branch) tell me if that solves the problem