Fix the order of some includes to avoid a conflict with a Windows header
This commit is contained in:
parent
23480cdee3
commit
b0b8a8dd67
|
@ -22,13 +22,15 @@
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sim/sim_lib_mgr.h>
|
|
||||||
#include <sch_symbol.h>
|
|
||||||
#include <sim/sim_library.h>
|
|
||||||
#include <sim/sim_model.h>
|
|
||||||
#include <pgm_base.h>
|
#include <pgm_base.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <sch_symbol.h>
|
||||||
|
|
||||||
|
// Include simulator headers after wxWidgets headers to avoid conflicts with Windows headers
|
||||||
|
// (especially on msys2 + wxWidgets 3.0.x)
|
||||||
|
#include <sim/sim_lib_mgr.h>
|
||||||
|
#include <sim/sim_library.h>
|
||||||
|
#include <sim/sim_model.h>
|
||||||
|
|
||||||
SIM_LIB_MGR::SIM_LIB_MGR( const PROJECT& aPrj ) : m_project( aPrj )
|
SIM_LIB_MGR::SIM_LIB_MGR( const PROJECT& aPrj ) : m_project( aPrj )
|
||||||
{
|
{
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
* or you may write to the Free Software Foundation, Inc.,
|
* or you may write to the Free Software Foundation, Inc.,
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
#include <lib_symbol.h>
|
||||||
|
#include <confirm.h>
|
||||||
|
|
||||||
#include <sim/sim_model.h>
|
#include <sim/sim_model.h>
|
||||||
#include <sim/sim_model_behavioral.h>
|
#include <sim/sim_model_behavioral.h>
|
||||||
|
@ -38,9 +40,6 @@
|
||||||
|
|
||||||
#include <sim/sim_library_kibis.h>
|
#include <sim/sim_library_kibis.h>
|
||||||
|
|
||||||
#include <lib_symbol.h>
|
|
||||||
#include <confirm.h>
|
|
||||||
|
|
||||||
#include <boost/algorithm/string/case_conv.hpp>
|
#include <boost/algorithm/string/case_conv.hpp>
|
||||||
#include <boost/algorithm/string/trim.hpp>
|
#include <boost/algorithm/string/trim.hpp>
|
||||||
#include <boost/algorithm/string.hpp>
|
#include <boost/algorithm/string.hpp>
|
||||||
|
@ -50,7 +49,6 @@
|
||||||
|
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
|
||||||
using DEVICE_TYPE = SIM_MODEL::DEVICE_TYPE_;
|
|
||||||
using TYPE = SIM_MODEL::TYPE;
|
using TYPE = SIM_MODEL::TYPE;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue