Clang testing
We should test compilation with clang.
Currently it fails with the following errors:
pdi/plugins/flowvr/plugin/src/module.cxx:228:63: error: cannot pass non-trivial object of type 'basic_string<char, std::char_traits<char>, std::allocator<char>>' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
snprintf(format, 128, "[PDI][%s][%%T] *** %%^%%l%%$: %%v", m_module_name + "/" + m_instance_name);
~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pdi/plugins/flowvr/plugin/src/module.cxx:228:63: note: did you mean to call the c_str() method?
snprintf(format, 128, "[PDI][%s][%%T] *** %%^%%l%%$: %%v", m_module_name + "/" + m_instance_name);
^
.c_str()
pdi/plugins/flowvr/plugin/src/module.cxx:231:63: error: cannot pass non-trivial object of type 'std::string' (aka 'basic_string<char>') to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]
snprintf(format, 128, "[PDI][%s][%%T] *** %%^%%l%%$: %%v", m_module_name);
~~ ^~~~~~~~~~~~~
pdi/plugins/flowvr/plugin/src/module.cxx:231:63: note: did you mean to call the c_str() method?
snprintf(format, 128, "[PDI][%s][%%T] *** %%^%%l%%$: %%v", m_module_name);
^
.c_str()