when i enable the following options in ccmake and perform a 'make',
UA_ENABLE_PUBSUB
UA_ENABLE_PUBSUB_DELTAFRAMES
UA_ENABLE_ETH_UADP
UA_ENABLE_PUBSUB_MQTT
error message is:
/home/pi/open62541/build/open62541.h:36210:2: error: #endif without #if
#endif /* OPEN62541_H_ */
cc1: error: unrecognized command line option ‘-Wno-static-in-inline’ [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [CMakeFiles/open62541-object.dir/build.make:298: CMakeFiles/open62541-object.dir/open62541.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:305: CMakeFiles/open62541-object.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
if i disable 'UA_ENABLE_PUBSUB_MQTT', the error goes away.
Can you fixed it?
Thanks.