In my project Rational I've included InfInt.h twice in two compilation units, causing multiple definitions of both the InfIntException and the static constants.
the InfIntException was easy to fix, by just inlining them
the constants I had to enclose with a defineINFINT_STATICS_DECLARED and defining it before I include it again.
I found some more small problems for which I will open issuses, but overall all test cases in Rational are succeeding :smile_cat:
Tried this. It doesn't work because of the constants which can be defined only once. What worked for me was removing the constants and using 0, 1 and 2 instead of the constants.
In my project Rational I've included
InfInt.h
twice in two compilation units, causing multiple definitions of both theInfIntException
and the static constants.InfIntException
was easy to fix, by just inlining themINFINT_STATICS_DECLARED
and defining it before I include it again.I found some more small problems for which I will open issuses, but overall all test cases in Rational are succeeding :smile_cat: