Skip to content

Multiple "warning C4065: switch statement contains 'default' but no 'case' labels" on MSVC #155

@RunningWithScissors-

Description

@RunningWithScissors-

This warning appears on multiple lines and just ruins a bit an otherwise clean build :)
I would suggest adding the following to error_codes.h :

#ifdef _MSC_VER
#pragma warning( push )
#pragma warning( disable: 4065 )
#endif
SQLITE_MODERN_CPP_ERROR_CODE(/**/);
/* 
.
.
.
*/
#ifdef _MSC_VER
#pragma warning( pop )
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions