lordgamez commented on code in PR #2132:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2132#discussion_r2910738288


##########
extensions/opc/tests/OpcUaTestServer.h:
##########
@@ -24,6 +24,8 @@
 #include "unit/TestUtils.h"
 #include "unit/Catch.h"
 
+extern "C" int mp_vsnprintf(char* s, size_t count, const char* format, va_list 
arg);

Review Comment:
   It is implemented in the OPC UA library, a custom implementation of the 
vsnprintf that uses special format specifiers for OPC UA data types. When using 
the standard vsnprintf the application crashes on the custom format specifiers, 
so we have to use this instead. For some reason it is not included in the 
installed headers so we need to declare it here. 
https://github.com/open62541/open62541/blob/master/deps/mp_printf.h



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to