Github user jdanekrh commented on a diff in the pull request:
https://github.com/apache/qpid-proton/pull/95#discussion_r102974488
--- Diff: proton-c/src/tests/fuzz/fuzz-sniff-header.c ---
@@ -0,0 +1,15 @@
+#include <stdlib.h>
+#include <stdio.h>
+
+#include "core/autodetect.h"
+
+#ifdef __cplusplus
--- End diff --
There is a project specific cmake option BUILD_WITH_CXX which will build .c
files with C++ compiler. See e.g.
https://github.com/apache/qpid-proton/blob/9ec97b51c1fed9a77e5c3dc537e301fb7ae3c5fe/proton-c/src/tests/CMakeLists.txt#L30
Thank you very much for review.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]