is it the comparison == where you'd want an assignment =?
-
-
-
yep. see the link in my tweet.
End of conversation
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
probably static analizer like cppcheck could help for such gotchas
-
Usually this should trigger a compiler warning. I think it didn't in this case because "==" is an overloaded operator.
End of conversation
New conversation -
-
-
I won't hold it against you :)
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Are you running static analysis on the Yosys codebase right now? If not, that would probably have caught it.
-
What static analysis tool (s) do you recommend?
@oe1cxw - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.