Fixed debug msvc build and fixed inaccessible base
This commit is contained in:
parent
e0a851976f
commit
6eaae6196c
@ -128,8 +128,8 @@ if(MINGW)
|
|||||||
endif(MINGW)
|
endif(MINGW)
|
||||||
|
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /DNDEBUG /O2 /MT")
|
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /DNDEBUG /O2 /MD")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /D_DEBUG /Od /MTd")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /D_DEBUG /Od /MDd")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
foreach (family ${FAMILIES})
|
foreach (family ${FAMILIES})
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
|
|
||||||
NEXTPNR_NAMESPACE_BEGIN
|
NEXTPNR_NAMESPACE_BEGIN
|
||||||
|
|
||||||
class assertion_failure : std::runtime_error
|
class assertion_failure : public std::runtime_error
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
assertion_failure(std::string msg, std::string expr_str, std::string filename, int line);
|
assertion_failure(std::string msg, std::string expr_str, std::string filename, int line);
|
||||||
|
Loading…
Reference in New Issue
Block a user