osoumen / C700

Software Sampler plugin for AU/VST and MacOSX/Windows
GNU Lesser General Public License v2.1
258 stars 16 forks source link

Fix compilation in standards-compliant mode #16

Closed nyanpasu64 closed 3 years ago

nyanpasu64 commented 3 years ago

When I build in VS2019 (v142) with /permissive- enabled (automatically enabled by /std:c++latest), parts of the code no longer compile because they are not valid C++, but MSVC only accepts them to preserve backwards compatibility.

This code compiles in VS2019, but I don't know if it compiles in VS2015 or VS2005.