Enable ConformanceMode in VS2019. (PR #923)

This reduces the chances of incompatibility between gcc and vs.

99% is "const char *" literals.
1 case of a goto jumping over a variable declaration (but it is not needed).
This commit is contained in:
Andrea
2021-02-10 21:05:00 +00:00
committed by GitHub
parent 466207f5d3
commit 8c2b38d19d
12 changed files with 42 additions and 36 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ static BOOL CALLBACK DSEnumProc(LPGUID lpGUID, LPCTSTR lpszDesc, LPCTSTR lpszDrv
//-----------------------------------------------------------------------------
#ifdef _DEBUG
static char *DirectSound_ErrorText (HRESULT error)
static const char *DirectSound_ErrorText (HRESULT error)
{
switch( error )
{