Stephen Kelly wrote: >> The destructor of cmCompiledGeneratorExpression is deleting >> the evaluators before they get used again in later evals. >> Commenting out the "delete" line fixes the crash but probably >> leaks. You need to work out the ownership semantics. >> > > Thanks. I'm too used to everything being implicitly shared :). Valgrind > didn't show the problem, interestingly enough.
A colleague tells me that gcc generates code that doesn't actually 'guard' memory immediately when the dtor is called, but Windows does, which could explain everything. Thanks, Steve. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers