Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add #include <cerrno> in verilated.h
Related to the error of verilator#2255: /usr/bin/ld: _ZN9Verilated3t_sE: TLS reference in ... mismatches non-TLS definition in verilated.o section .bss Adding `#include <errno.h>` does not seem to provide a consistent fix - I think that the `#include <cerrno>` of verilated.cpp provides a conflicting definition of `errno` in some edge-cases. Adding the identical include in verilated.h (seems to) fix the error.
- Loading branch information