Closed meritozh closed 7 years ago
I have made both clang++ and g++ happy :) Pull down the latest commit to make sure it works for you :)
The errors and warnings indicate that clang++ is always right when it differs to g++. I will switch to use clang for it gives much more constraints which helps to write better code
All is well, thanks for your work.
Such as the line 11 in code_gen.h, it should add
template<>
beforeclass Evaluator<Addr>
. And in cpp.cc, the variablecond
type of isint
, butppCondStack_.push()
need abool
type parameter. Casting aint
tobool
is not valid.clang is so different with gcc?