From abbc83bd517dc8337d4cde70cdfd2d683e94e4fb Mon Sep 17 00:00:00 2001 From: Craig Southeren Date: Thu, 20 Sep 2012 08:38:50 -0500 Subject: [PATCH] Fix MSVC compile errors caused by struct forward declared as class --- include/class_title_block.h | 2 +- pcbnew/eagle_plugin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/class_title_block.h b/include/class_title_block.h index 36ad749e0f..dfd46d467e 100644 --- a/include/class_title_block.h +++ b/include/class_title_block.h @@ -27,7 +27,7 @@ class OUTPUTFORMATTER; -class IO_ERROR; +struct IO_ERROR; extern wxString GenDate(); diff --git a/pcbnew/eagle_plugin.h b/pcbnew/eagle_plugin.h index 41ea4af6d9..3b48141897 100644 --- a/pcbnew/eagle_plugin.h +++ b/pcbnew/eagle_plugin.h @@ -62,7 +62,7 @@ typedef NET_MAP::const_iterator NET_MAP_CITER; typedef boost::property_tree::ptree PTREE; typedef const PTREE CPTREE; -class EELEMENT; +struct EELEMENT; class XPATH; struct ERULES; struct EATTR;