Fix std:: build error, bug1322.

This commit is contained in:
Wilson Snyder 2018-06-28 18:55:36 -04:00
parent 45eddfb335
commit 4f962bddd8
4 changed files with 17 additions and 0 deletions

View File

@ -10,6 +10,8 @@ The contributors that suggested a given feature are shown in []. Thanks!
**** Fix to ignore Unicode UTF-8 BOM sequences, msg2576. [HyungKi Jeong]
**** Fix std:: build error, bug1322.
* Verilator 3.924 2018-06-12

View File

@ -22,6 +22,10 @@
#define _V3GLOBAL_H_ 1
#include "config_build.h"
#ifndef HAVE_CONFIG_BUILD
# error "Something failed during ./configure as config_build.h is incomplete."
#endif
#include "verilatedos.h"
#include <string>

View File

@ -19,6 +19,13 @@
//*************************************************************************
// Cheat for speed and compile .cpp files into one object
#include "config_build.h"
#ifndef HAVE_CONFIG_BUILD
# error "Something failed during ./configure as config_build.h is incomplete."
#endif
#include "verilatedos.h"
#define _V3ERROR_NO_GLOBAL_ 1
#include "V3Error.cpp"
#include "V3String.cpp"

View File

@ -78,3 +78,7 @@ using namespace std;
//**** OS and compiler specifics
#include "verilatedos.h"
//**********************************************************************
//**** This file sometimes gets truncated, so check in consumers
#define HAVE_CONFIG_BUILD