OGS
CompilerWorkarounds.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#if defined(__GNUC__) && __GNUC__ >= 13
7#define OGS_NO_DANGLING [[gnu::no_dangling]]
8#else
9#define OGS_NO_DANGLING
10#endif