diff --git a/developer/src/common/include/kmn_compiler_errors.h b/developer/src/common/include/kmn_compiler_errors.h index 1e1a5e5733..6e7d042d1a 100644 --- a/developer/src/common/include/kmn_compiler_errors.h +++ b/developer/src/common/include/kmn_compiler_errors.h @@ -206,10 +206,9 @@ namespace CompilerErrorSeverity { #define CWARN_ANSIInUnicodeGroup 0x00002087 #define CWARN_UnicodeSurrogateUsed 0x00002088 #define CWARN_ReservedCharacter 0x00002089 -// Note: CWARN_Info has an "info" severity; this changed in 17.0. Earlier versions -// had a special case for CWARN_Info in message output. -#define CWARN_Info 0x0000008A -#define CINFO_Info CWARN_Info + +#define CINFO_Info 0x0000008A + #define CWARN_VirtualKeyWithMnemonicLayout 0x0000208B #define CWARN_VirtualCharKeyWithPositionalLayout 0x0000208C #define CWARN_StoreAlreadyUsedAsOptionOrCall 0x0000208D diff --git a/developer/src/kmcmplib/src/CompMsg.cpp b/developer/src/kmcmplib/src/CompMsg.cpp index 3ef481882c..fb44028c4c 100644 --- a/developer/src/kmcmplib/src/CompMsg.cpp +++ b/developer/src/kmcmplib/src/CompMsg.cpp @@ -127,7 +127,7 @@ std::map CompilerErrorMap = { { CWARN_ANSIInUnicodeGroup , "An ANSI character was found in a Unicode group"}, { CWARN_UnicodeSurrogateUsed , "A Unicode surrogate character was found. You should use Unicode scalar values to represent values > U+FFFF"}, { CWARN_ReservedCharacter , "A Unicode character was found that should not be used"}, - { CWARN_Info , "Information"}, + { CINFO_Info , "Information"}, { CWARN_VirtualKeyWithMnemonicLayout , "Virtual key used instead of virtual character key with a mnemonic layout"}, { CWARN_VirtualCharKeyWithPositionalLayout , "Virtual character key used with a positional layout instead of mnemonic layout"}, { CWARN_StoreAlreadyUsedAsOptionOrCall , "Store already used as an option or in a call statement and should not be used as a normal store"}, diff --git a/developer/src/kmcmplib/src/CompilerErrors.cpp b/developer/src/kmcmplib/src/CompilerErrors.cpp index cd2c1ac6b6..6b90910610 100644 --- a/developer/src/kmcmplib/src/CompilerErrors.cpp +++ b/developer/src/kmcmplib/src/CompilerErrors.cpp @@ -16,7 +16,7 @@ namespace kmcmp { KMX_BOOL kmcmp::AddCompileWarning(PKMX_CHAR buf) { KMCMP_COMPILER_RESULT_MESSAGE message; - message.errorCode = CWARN_Info; + message.errorCode = CINFO_Info; message.lineNumber = kmcmp::currentLine + 1; message.message = buf; (*msgproc)(message, msgprocContext);