Our website uses cookies to enhance your browsing experience.
Accept
to the top
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you do not see the email in your inbox, please check if it is filtered to one of the following folders:

  • Promotion
  • Updates
  • Spam

Webinar: Evaluation - 05.12

>
>
>
Examples of errors detected by the V677…

Examples of errors detected by the V677 diagnostic

V677. Custom declaration of standard type. Consider using the declaration from system header files instead.


SlimDX

V677 Custom declaration of a standard 'INT8' type. The system header file should be used: #include <BaseTsd.h>. d3dx11dbg.h 32


typedef signed char    INT8;
typedef signed short   INT16;
typedef unsigned char  UINT8;
typedef unsigned short UINT16;

Similar errors can be found in some other places:

  • V677 Custom declaration of a standard 'INT16' type. The system header file should be used: #include <BaseTsd.h>. d3dx11dbg.h 33
  • V677 Custom declaration of a standard 'UINT8' type. The system header file should be used: #include <BaseTsd.h>. d3dx11dbg.h 34
  • V677 Custom declaration of a standard 'UINT16' type. The system header file should be used: #include <BaseTsd.h>. d3dx11dbg.h 35

Miranda NG

V677 Custom declaration of a standard 'BOOL' type. The system header file should be used: #include <WinDef.h>. AdvaImg freeimage.h 148


#ifndef _MSC_VER
// define portable types for 32-bit / 64-bit OS
#include <inttypes.h>
typedef int32_t BOOL;
typedef uint8_t BYTE;
typedef uint16_t WORD;
typedef uint32_t DWORD;
typedef int32_t LONG;
typedef int64_t INT64;
typedef uint64_t UINT64;
#else
// MS is not C99 ISO compliant
typedef long BOOL;
typedef unsigned char BYTE;
typedef unsigned short WORD;
typedef unsigned long DWORD;
typedef long LONG;
typedef signed __int64 INT64;
typedef unsigned __int64 UINT64;
#endif // _MSC_VER

Similar errors can be found in some other places:

  • V677 Custom declaration of a standard 'BYTE' type. The system header file should be used: #include <WinDef.h>. AdvaImg freeimage.h 149
  • V677 Custom declaration of a standard 'WORD' type. The system header file should be used: #include <WinDef.h>. AdvaImg freeimage.h 150
  • V677 Custom declaration of a standard 'DWORD' type. The system header file should be used: #include <WinDef.h>. AdvaImg freeimage.h 151
  • And 10 additional diagnostic messages.