SDL-Hercules-390 / hyperion

The SDL Hercules 4.x Hyperion version of the System/370, ESA/390, and z/Architecture Emulator
Other
237 stars 89 forks source link

Visual Studio 17.9.0 generating warning C4789 #627

Closed ygamache closed 6 months ago

ygamache commented 6 months ago

Upgraded to VS2022 v17.9.0 from v17.8.6 and received these compile errors:

** Visual Studio 2022 Developer Command Prompt v17.9.0

Generating code
D:\Hercules_Source\hyperion-sdl\general1.c(2269) : error C2220: the following warning is treated as an error
D:\Hercules_Source\hyperion-sdl\general1.c(2269) : warning C4789: buffer 'tmp' of size 16 bytes will be overrun; 16 bytes will be written starting at offset 16
D:\Hercules_Source\hyperion-sdl\general1.c(2240) : warning C4789: buffer 'tmp' of size 16 bytes will be overrun; 16 bytes will be written starting at offset 16
LINK : fatal error LNK1257: code generation failed

See bugs #479 and #610.

Fish-Git commented 6 months ago

Sheesh!  They STILL haven't fixed this bug yet?!  How long is this going to go on?!  >:-(

(sigh)  Fixed by commit 7d721bc99de79dc70d62d4be99f7a6878228a65c. Closing.