You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Liuxuxin (Jira)" <ji...@apache.org> on 2021/11/30 08:53:00 UTC
[jira] [Created] (IOTDB-2073) Fix already defined bug in cpp-client
Liuxuxin created IOTDB-2073:
-------------------------------
Summary: Fix already defined bug in cpp-client
Key: IOTDB-2073
URL: https://issues.apache.org/jira/browse/IOTDB-2073
Project: Apache IoTDB
Issue Type: Bug
Reporter: Liuxuxin
Assignee: Liuxuxin
Fix For: 0.13.0
## Description
If we include "Session.h" in two cpp files and compile them, we will get a `Already defined` exception.
## Cause
It is because the cpp header does not use a `#pragma` or `#ifndef` to avoid double inclusion.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)