1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 20:01:15 +02:00

Fix Boehm API violation

We were calling GC_INIT() after doing an allocation (in the baseEnv
construction), which is not allowed.
This commit is contained in:
Eelco Dolstra 2015-03-19 20:02:37 +01:00
parent da6b704b19
commit 726f7f7fc9
4 changed files with 48 additions and 38 deletions

View file

@ -121,6 +121,10 @@ std::ostream & operator << (std::ostream & str, const Value & v);
typedef list<std::pair<string, Path> > SearchPath;
/* Initialise the Boehm GC, if applicable. */
void initGC();
class EvalState
{
public: