Compatibility with gcc-4.3
The addition of UINT_MAX in netlist.cc requires #include <climits> when compiling with gcc-4.3.2.
I also noticed that commit 8704e3e used c style includes in c++ sources contrary to the style used in the rest of the c++ code and fixed those.
This commit is contained in:
parent
6b62cce14a
commit
feba5d9470
|
|
@ -21,7 +21,7 @@
|
|||
# include <typeinfo>
|
||||
# include <cstdlib>
|
||||
# include <cstring>
|
||||
# include <limits.h>
|
||||
# include <climits>
|
||||
# include "compiler.h"
|
||||
|
||||
# include "pform.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
# include "config.h"
|
||||
# include "compiler.h"
|
||||
|
||||
# include <stdlib.h>
|
||||
# include <cstdlib>
|
||||
# include <iostream>
|
||||
|
||||
# include "netlist.h"
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
# include <typeinfo>
|
||||
# include <cstdlib>
|
||||
# include <climits>
|
||||
# include "compiler.h"
|
||||
# include "netlist.h"
|
||||
# include "netmisc.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue