First steps towards enablement of MSVC2017 for pymod. A lot of things to TODO yet ...

This commit is contained in:
Matthias Köfferlein
2018-08-04 18:02:39 +02:00
parent d81dcb6b22
commit 23d715001b
40 changed files with 245 additions and 176 deletions
@@ -36,7 +36,6 @@
#if defined(HAVE_QTBINDINGS)
# include "gsiQtGuiExternals.h"
# include "gsiQtWidgetsExternals.h"
FORCE_LINK_GSI_QTGUI
FORCE_LINK_GSI_QTWIDGETS // for Qt5
@@ -43,8 +43,6 @@ namespace tl
template <> struct type_traits<gsi::PluginBase> : public type_traits<void> {
typedef tl::false_tag has_copy_constructor;
};
template <> Registrar<gsi::PluginFactoryBase> *Registrar<gsi::PluginFactoryBase>::instance = 0;
}
namespace gsi
+1 -1
View File
@@ -112,7 +112,7 @@ LayoutHandle::layout_changed ()
}
void
LayoutHandle::rename (const std::string &name, bool force) throw (tl::Exception)
LayoutHandle::rename (const std::string &name, bool force)
{
std::string n (name);
+1 -1
View File
@@ -83,7 +83,7 @@ public:
* If "force" is set to true, the layout will be given that name, irregardless if
* the name already is being used. If "force" is false, a new unique name is created.
*/
void rename (const std::string &name, bool force = false) throw (tl::Exception);
void rename (const std::string &name, bool force = false);
/**
* @brief Gets the name of the handle
-6
View File
@@ -589,9 +589,3 @@ PluginRoot::instance ()
}
}
namespace tl
{
template<> LAYBASIC_PUBLIC Registrar<lay::PluginDeclaration> *tl::Registrar<lay::PluginDeclaration>::instance = 0;
template class LAYBASIC_PUBLIC tl::RegisteredClass<lay::PluginDeclaration>;
}
+1 -13
View File
@@ -22,17 +22,5 @@
#include "layTechnology.h"
#include "layPlugin.h"
#include "layStream.h"
#include <stdio.h>
#include <QFileInfo>
#include <QDir>
namespace tl
{
template<> LAYBASIC_PUBLIC tl::Registrar<lay::TechnologyEditorProvider> *tl::Registrar<lay::TechnologyEditorProvider>::instance = 0;
template class LAYBASIC_PUBLIC tl::RegisteredClass<lay::TechnologyEditorProvider>;
}
// .. nothing yet ..