mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Check whether V3ERROR_NO_GLOBAL_ is not already defined. (#4475)
Co-authored-by: Mariusz Glebocki <[email protected]>
This commit is contained in:
co-authored by
Mariusz Glebocki
parent
0baee84e96
commit
e77d847671
@@ -20,7 +20,9 @@
|
||||
#include "config_build.h"
|
||||
#include "verilatedos.h"
|
||||
|
||||
#ifndef V3ERROR_NO_GLOBAL_
|
||||
#define V3ERROR_NO_GLOBAL_
|
||||
#endif
|
||||
#include "V3Error.h"
|
||||
|
||||
//********************************************************************
|
||||
|
||||
@@ -24,7 +24,9 @@
|
||||
#include "verilatedos.h"
|
||||
|
||||
// Cheat for speed and compile .cpp files into one object TODO: Reconsider
|
||||
#ifndef V3ERROR_NO_GLOBAL_
|
||||
#define V3ERROR_NO_GLOBAL_
|
||||
#endif
|
||||
#include "V3Error.h"
|
||||
static int debug() { return V3Error::debugDefault(); }
|
||||
#include "V3Error.cpp"
|
||||
|
||||
@@ -25,7 +25,9 @@
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
#ifndef V3ERROR_NO_GLOBAL_
|
||||
#define V3ERROR_NO_GLOBAL_
|
||||
#endif
|
||||
#include "verilated_cov_key.h"
|
||||
|
||||
#include "V3Error.h"
|
||||
|
||||
Reference in New Issue
Block a user