Fix -Wnon-c-typedef-for-linkage warning using C++ struct declaration syntax
Fix double extern qualifier warning in idmfc.h. Functions declared in idmfc.h were prefixed by both macros EXTERN and DLLEXPORT. EXTERN expands to extern "C" for C++ code, and DLLEXPORT expands to extern "C" for C++ or extern for C code, making up two extern qualifiers for C++ code. We now only use DLLEXPORT macro.
Fix compiler warning -Wimplicit-const-int-float-conversion using explicit casts
Pull Request Type
Description
EXTERN
andDLLEXPORT
.EXTERN
expands toextern "C"
for C++ code, andDLLEXPORT
expands toextern "C"
for C++ orextern
for C code, making up twoextern
qualifiers for C++ code. We now only use DLLEXPORT macro.