Skip to content

Missing stdio.h include. #329

Description

@zzcgumn

A stray Copilot review mentioned this:

In library/tests/dds_c_api_test.cpp

#include <gtest/gtest.h>

#include

#include <api/dds_c_api.h>
std::snprintf is used later in this test, but isn’t included, so std::snprintf may be undeclared (and <stdio.h> from other headers won’t reliably put it in std::). Add an explicit include.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions