Files
epics-base/modules/libcom/src/osi/compilerDependencies.h
Andrew Johnson 3c99391d93 Added SPDX License ID to all EPICS-original source files
In some cases the license-identification header was missing,
so I added that as well. Replaced the remaining headers that
specifically identified "Versions 3.13.7 and higher".

Makefiles and the build system were deliberately excluded.
2020-08-03 11:53:01 -05:00

65 lines
1.6 KiB
C

/*************************************************************************\
* Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* SPDX-License-Identifier: EPICS
* EPICS BASE is distributed subject to a Software License Agreement found
* in file LICENSE that is included with this distribution.
\*************************************************************************/
/**
* \file compilerDependencies.h
* \author Jeffrey O. Hill johill@lanl.gov
* \brief Compiler specific declarations
*
*/
#ifndef compilerDependencies_h
#define compilerDependencies_h
#include "compilerSpecific.h"
#ifdef __cplusplus
/*
* usage: epicsPlacementDeleteOperator (( void *, myMemoryManager & ))
*/
#if defined ( CXX_PLACEMENT_DELETE )
# define epicsPlacementDeleteOperator(X) void operator delete X;
#else
# define epicsPlacementDeleteOperator(X)
#endif
#endif /* __cplusplus */
#ifndef EPICS_PRINTF_STYLE
/*
* No format-string checking
*/
# define EPICS_PRINTF_STYLE(f,a)
#endif
#ifndef EPICS_DEPRECATED
/*
* No deprecation markers
*/
#define EPICS_DEPRECATED
#endif
#ifndef EPICS_UNUSED
# define EPICS_UNUSED
#endif
#ifndef EPICS_FUNCTION
#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) || (defined(__cplusplus) && __cplusplus>=201103L)
# define EPICS_FUNCTION __func__
#else
/* Expands to a 'const char*' which describes the name of the current function scope */
# define EPICS_FUNCTION ("<unknown function>")
#endif
#endif
#endif /* ifndef compilerDependencies_h */