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.