disable exeptions in cmake
This commit is contained in:
@@ -101,7 +101,8 @@ protected:
|
||||
{
|
||||
if (m_stackSize == 0)
|
||||
{
|
||||
throw std::logic_error ("Unable to continue registration");
|
||||
std::cerr << ("Unable to continue registration");
|
||||
assert(true);
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -1054,7 +1055,8 @@ public:
|
||||
{
|
||||
if (m_stackSize == 1)
|
||||
{
|
||||
throw std::logic_error ("endNamespace () called on global namespace");
|
||||
std::cerr << ("endNamespace () called on global namespace");
|
||||
assert(true);
|
||||
}
|
||||
|
||||
assert (m_stackSize > 1);
|
||||
@@ -1150,7 +1152,8 @@ public:
|
||||
{
|
||||
if (m_stackSize == 1)
|
||||
{
|
||||
throw std::logic_error ("addProperty () called on global namespace");
|
||||
std::cerr << ("addProperty () called on global namespace");
|
||||
assert(true);
|
||||
}
|
||||
|
||||
assert (lua_istable (L, -1)); // Stack: namespace table (ns)
|
||||
|
||||
Reference in New Issue
Block a user