qtrvsim icon indicating copy to clipboard operation
qtrvsim copied to clipboard

Bug: parse_csr_address failed on CI windows2022

Open trdthg opened this issue 10 months ago • 0 comments

I found that the stroul function behaves differently in the CI windows2022 Clang Qt6 environment

stroul can't handle hex str correctly

log place

image

winows 2019 success char_token = 5 image

windows 2022 failed char_token = 0 image

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

image

trdthg avatar Apr 26 '24 17:04 trdthg