Hi,
I'm not quite sure if I should post this here or in Plugins development, but I'm trying it now here.
I've experienced an assertion on start of Code::Blocks if an environment set is active that is not empty,
i. e. contains really environment variables.
The assertion backlog text is attached in assertion_on_start_backtrace.txt.gz.
After some digging I found the problem and created a patch on top of the current SVN revision 13335.
Find the patch attached in the file envvars_common_type_mismatch_no_cast.diff.gz
A possible SVN commit message would be which also explains the change:
plugins/contrib/envvars: Fix assertion in nsEnvVars::GetEnvvarsBySetPath
Fix assertion introduced in SVN commit 12537 by changing the type
of num_envvars to unsigned long and not adjusting the format string
in EV_DBGLOG() at line 225.
plugins/contrib/envvars/envvars_common.cpp:
- Use matching %lu format for num_envvars variable in EV_DBGLOG().
- Get rid of static_cast and use %zu for printing size_t
envvars.GetCount() as promised in SVN commit 13103.
I hope this patch can easily be integrated.
Best regards,
pirx67