|
|
Home » Community » U++ community news and announcements » 2025.1rc4
|
|
|
|
|
|
|
Re: 2025.1rc4 [message #61607 is a reply to message #61605] |
Sun, 23 March 2025 05:38   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Sat, 22 March 2025 03:31Painter/Rasterizer.cpp:318:10: runtime error: left shift of negative value -160
- this is interestingly no more error in C++20 (and ubsan agrees)... (I am adding this note here as I expect you to retest after I am finished fixing).
I attached what I'm getting with my compiler.
Left shift is still there ...
Regards,
Novo
|
|
|
|
|
Re: 2025.1rc4 [message #61611 is a reply to message #61609] |
Sun, 23 March 2025 20:19   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Sun, 23 March 2025 02:56
Either your clang version does not know about it or you have not changed the build method to C++20... (When I did, it got fixed).
Mirek
Yes, changing cpp version to 20 eliminates the problem.
But current cpp version used by UPP is 17 ...
Regards,
Novo
|
|
|
|
Re: 2025.1rc4 [message #61613 is a reply to message #61612] |
Mon, 24 March 2025 04:51   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
mirek wrote on Sun, 23 March 2025 15:37
Well, I suggest you google the issue up... It was defined in practice and widely used for ages now, except the standard lagged behind...
Mirek
I propose a different way of fixing this problem: a pull request.
New command to check: umk tutorial CoreTutorial CLANGcpp17ubsan -bus
Result is attached.
Regards,
Novo
|
|
|
|
Goto Forum:
Current Time: Tue Jul 01 19:42:49 CEST 2025
Total time taken to generate the page: 0.03004 seconds
|
|
|