diff --git a/Changes b/Changes index 4d38b3a6d..9e2e16d38 100644 --- a/Changes +++ b/Changes @@ -9,6 +9,8 @@ indicates the contributor was also the author of the fix; Thanks! **** Fix CDCRSTLOGIC report showing endpoint flops without resets. +**** Fix compiler warnings on SPARC, bug288. [Ahmed El-Mahmoudy] + * Verilator 3.812 2011/04/06 *** Add --trace-max-width and --trace-max-array, bug319. [Alex Solomatnikov] diff --git a/src/V3AstNodes.h b/src/V3AstNodes.h index b2260f8b6..235fe93b8 100644 --- a/src/V3AstNodes.h +++ b/src/V3AstNodes.h @@ -3184,9 +3184,9 @@ struct AstBufIf1 : public AstNodeBiop { ASTNODE_NODE_FUNCS(BufIf1, BUFIF1) virtual void numberOperate(V3Number& out, const V3Number& lhs, const V3Number& rhs) { out.opBufIf1(lhs,rhs); } virtual string emitVerilog() { return "bufif(%r,%l)"; } - virtual string emitC() { V3ERROR_NA; return false;} // Lclean || Rclean + virtual string emitC() { V3ERROR_NA; return "";} // Lclean || Rclean virtual string emitSimpleOperator() { V3ERROR_NA; return false;} // Lclean || Rclean - virtual bool cleanOut() {V3ERROR_NA; return false;} // Lclean || Rclean + virtual bool cleanOut() {V3ERROR_NA; return "";} // Lclean || Rclean virtual bool cleanLhs() {return false;} virtual bool cleanRhs() {return false;} virtual bool sizeMattersLhs() {return false;} virtual bool sizeMattersRhs() {return false;} };