From 6cec188c524f83a84e2cda88f0c121998867bc77 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 16 Dec 2014 10:38:25 +0100 Subject: [PATCH] Fixed build with gcc 4.6 --- kernel/rtlil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 29fa90692..19996c8fc 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -86,7 +86,7 @@ namespace RTLIL }; static struct destruct_guard_t { - bool ok = false; + bool ok; // POD, will be initialized to zero destruct_guard_t() { ok = true; } ~destruct_guard_t() { ok = false; } } destruct_guard; -- 2.30.2