Open trdthg opened 4 months ago
I found that the stroul function behaves differently in the CI windows2022 Clang Qt6 environment
stroul
stroul can't handle hex str correctly
log place
winows 2019 success char_token = 5
windows 2022 failed char_token = 0
Maybe we could use QString::toULong, but all the ways of determining whether parsing was successful by char_token ! = 0 should be changed to bool
char_token ! = 0
bool
I found that the
stroul
function behaves differently in the CI windows2022 Clang Qt6 environmentstroul can't handle hex str correctly
log place
winows 2019 success char_token = 5![image](https://github.com/cvut/qtrvsim/assets/69898423/4570e34b-0acc-4ed0-a5a3-d79ab3f3b436)
windows 2022 failed char_token = 0![image](https://github.com/cvut/qtrvsim/assets/69898423/8a2e12ec-262d-44bc-a81d-075418aef429)
Maybe we could use QString::toULong, but all the ways of determining whether parsing was successful by
char_token ! = 0
should be changed tobool