Skip to content

Conversation

@aphecetche
Copy link

@mwinn2 please see in this PR a couple of fixes.

  1. The linking problem you had is due to the missing Root dictionary : you have to ask for one using the o2_target_root_dictionary CMake (custom) function

  2. then by removing the dependency of Digit to TimeStamp you also removed the operator== (that came from TimeStamp) for Digit and hence the testDigitMerging was not compiling. So you have to provide an operator== by yourself

While implementing the operator== I came to question (again ?) the timestamp as double. Basically as the Samba is giving us a timestamp as an integer of 20 bits, why can't we simply use timestamp = uint32_t for our Digits ?

@mwinn2
Copy link
Owner

mwinn2 commented Dec 1, 2019

@aphecetche
Thanks a lot for looking into it and the detailed explanation for the linking problem.
ok, I will fix that tomorrow.
About the double vs. integer, yes, of course. we can go for integer, there is no reason to have a double. I don't recall now, why there was a double used from my side in the first place, but I agree.

@mwinn2
Copy link
Owner

mwinn2 commented Dec 4, 2019

@aphecetche : finally, I modified and it should work now (with int)

@mwinn2 mwinn2 merged commit a199ac2 into mwinn2:movedigittobase Dec 9, 2019
@aphecetche aphecetche deleted the movedigittobase-fix branch December 15, 2019 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants