From: Clifford Wolf Date: Tue, 16 Dec 2014 09:38:25 +0000 (+0100) Subject: Fixed build with gcc 4.6 X-Git-Tag: yosys-0.5~246^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6cec188c524f83a84e2cda88f0c121998867bc77;p=yosys.git Fixed build with gcc 4.6 --- 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;