Skip to content

[Bug]: Missing #include <cstdint> #404

@eschnett

Description

@eschnett

Contact Details

No response

What happened?

I encounter a build error in the file examples/core/core_compress.cpp. The symbol PRIu64 is undefined. This patch remedies this for me:

--- a/examples/core/core_compress.cpp
+++ b/examples/core/core_compress.cpp
@@ -31,6 +31,7 @@
 #include <memory>
 #include <cstdlib>
 #include <inttypes.h>
+#include <cstdint>
 
 #include "grok.h"
 #include "core.h"

Version

20.3.2

Operating System

Linux

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions