mackron / dr_libs

Audio decoding libraries for C/C++, each in a single source file.
Other
1.28k stars 205 forks source link

Fixed building for UWP with Visual Studio 2019 #234

Closed slouken closed 2 years ago

slouken commented 2 years ago

The compiler was warning about prediction128 being used uninitialized.

mackron commented 2 years ago

Sorry for the delay on getting to this. I was intending on actioning this and then forgot about it. Merged into dev and will be released shortly.

slouken commented 2 years ago

Would you be interested in a patch to reduce stack usage? Right now there are several functions which use more than 4K of stack, which generates __chkstk() calls on Visual Studio. The fix would be to dynamically allocate the large objects that are currently declared as stack variables.

mackron commented 2 years ago

That's something I'm definitely not interested in sorry.

slouken commented 2 years ago

That’s what I figured, thanks!