We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3967

Summary: warnings with updated libm sources
Product: SDL Reporter: Ozkan Sezer <sezeroz>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 2.0   
Hardware: All   
OS: All   

Description Ozkan Sezer 2017-11-17 19:37:33 UTC
After changeset 11683: 48bcba563d9c, my VS2005 emits the following warnings
with the updated libm sources:

1>c:\sdl2\src\libm\e_log.c(91) : warning C4723: potential divide by 0
1>c:\sdl2\src\libm\e_log.c(92) : warning C4723: potential divide by 0
1>c:\sdl2\src\libm\e_pow.c(182) : warning C4756: overflow in constant arithmetic
1>c:\sdl2\src\libm\e_pow.c(183) : warning C4756: overflow in constant arithmetic
1>c:\sdl2\src\libm\e_pow.c(186) : warning C4756: overflow in constant arithmetic
1>c:\sdl2\src\libm\e_pow.c(187) : warning C4756: overflow in constant arithmetic

I have not dug to see whether the warnings are bogus, neither have I
any patches for them.
Comment 1 Sam Lantinga 2017-11-22 05:51:58 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/8a982ed61896