From 4ed8b14c1218237f3e333f39e628ecf26b876450 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 17 Oct 2023 09:26:00 -0700 Subject: [PATCH] Fix Mac build Clang requires tighter forward declaration of derived enums --- pcbnew/python/scripting/pcbnew_scripting_helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/python/scripting/pcbnew_scripting_helpers.h b/pcbnew/python/scripting/pcbnew_scripting_helpers.h index e993140dc5..42448acf4b 100644 --- a/pcbnew/python/scripting/pcbnew_scripting_helpers.h +++ b/pcbnew/python/scripting/pcbnew_scripting_helpers.h @@ -34,7 +34,7 @@ class BOARD; class SETTINGS_MANAGER; class BOARD_ITEM; enum class EDA_UNITS; -enum PCB_LAYER_ID; +enum PCB_LAYER_ID : int; /* we could be including all these methods as static in a class, but * we want plain pcbnew. access from python