Hello Gilles!
Dr. Volker Jaenisch schrieb:
I keep you informed of my findings.
You've been right - the double-defined statements are due to the
long==int64_t identity.
After application of the attached changes the code does compile and link.
These changes have been done in a formal way (eliminate explicit
ocurrence of int64_t) but not by understanding the code itself.
So they are not ment to be a valid patch. Can you please review if these
changes do the right thing and will cause no problems.
Best Regards
Volker
diff carob-0.6_patched/src/Common.cpp carob-0.6/src/Common.cpp
333c333
< //template wstring CarobNS::toWString<int64_t>(const int64_t&);
---
> template wstring CarobNS::toWString<int64_t>(const int64_t&);
355c355
< //template wstring CarobNS::toUserString<int64_t>(const int64_t&);
---
> template wstring CarobNS::toUserString<int64_t>(const int64_t&);
hydra2:~/mcluster# diff carob-0.6_patched/src carob-0.6/src
diff carob-0.6_patched/src/BigDecimal.cpp carob-0.6/src/BigDecimal.cpp
128c128
< /*
---
>
143c143
< */
---
>
443c443
< /*
---
>
478c478
< */
---
>
hydra2:~/mcluster# diff carob-0.6_patched/include carob-0.6/include
diff carob-0.6_patched/include/BigDecimal.hpp
carob-0.6/include/BigDecimal.hpp
98c98
< //VJHACK BigDecimal(const int64_t);
---
> BigDecimal(const int64_t);
176c176
< //VJHACK operator int64_t() const throw (ConversionException);
---
> operator int64_t() const throw (ConversionException);
hydra2:~/mcluster# diff carob-0.6_patched/Makefile carob-0.6/Makefile
61c61
< CXXFLAGS = -g3 -Wall -O0 -fPIC
---
> CXXFLAGS = -g3 -Wall -O0
--
====================================================
inqbus it-consulting +49 ( 341 ) 5643800
Dr. Volker Jaenisch http://www.inqbus.de
Herloßsohnstr. 12 0 4 1 5 5 Leipzig
N O T - F Ä L L E +49 ( 170 ) 3113748
====================================================
_______________________________________________
Carob mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob