Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Microsoft compiler warning C4389 using warning level 4 #12

@thradams

Description

@thradams

I had to disable warning warning C4389: '==': signed/unsigned mismatch
around the macro FD_SET.

This is the new code to disable this warning.

#ifdef SMTP_IS_WINDOWS
#pragma warning( push )
#pragma warning( disable : 4389 ) //warning C4389: '==': signed/unsigned mismatch
FD_SET(smtp->sock, &readfds);
#pragma warning( pop )
#else
FD_SET(smtp->sock, &readfds);
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions