Просмотр исходного кода

Pragma message should be a string with quotation marks

Jens Reimann лет назад: 7
Родитель
Сommit
c36c48ab85
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/ua_types_encoding_binary.c

+ 1 - 1
src/ua_types_encoding_binary.c

@@ -131,7 +131,7 @@ encodeWithExchangeBuffer(const void *ptr, encodeBinarySignature encodeFunc, Ctx
 
 #if !UA_BINARY_OVERLAYABLE_INTEGER
 
-#pragma message Integer endianness could not be detected to be little endian. Use slow generic encoding.
+#pragma message "Integer endianness could not be detected to be little endian. Use slow generic encoding."
 
 /* These en/decoding functions are only used when the architecture isn't little-endian. */
 static void