diff --git a/kernel/yosys.h b/kernel/yosys.h index 013c3308f..7fe8dc4f4 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -148,7 +148,7 @@ extern Tcl_Obj *Tcl_ObjSetVar2(Tcl_Interp *interp, Tcl_Obj *part1Ptr, Tcl_Obj *p #endif #if __cplusplus >= 201703L -# define YS_MAYBE_UNUSED [[maybe_unused]]; +# define YS_MAYBE_UNUSED [[maybe_unused]] #elif defined(__GNUC__) || defined(__clang__) # define YS_MAYBE_UNUSED __attribute__((__unused__)) #else