AlarmNotifications
PANDA Slow Control Alarm Daemon
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros
oldgcccompat.h File Reference

Compatibility macros for older versions of the GCC. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OLDGCC46COMPAT   1
 Enable compatibility code for GCC < 4.6. More...
 
#define noexcept   throw()
 Allow using the noexcept keyword with GCC < 4.6. More...
 
#define nullptr   NULL
 Allow using the nullptr keyword with GCC < 4.6. More...
 
#define OLDGCC47COMPAT   1
 Enable compatibility code for GCC < 4.7. More...
 
#define final
 Allow using the final keyword with GCC < 4.7. More...
 

Detailed Description

Compatibility macros for older versions of the GCC.

Author
Tobias Triffterer
Version
1.0.0

AlarmNotifications - Laboratory and desktop notification framework to be used with EPICS and Control System Studio

Copyright © 2014 by Tobias Triffterer tobia.nosp@m.s@ep.nosp@m.1.ruh.nosp@m.r-un.nosp@m.i-boc.nosp@m.hum..nosp@m.de for Institut für Experimentalphysik I der Ruhr-Universität Bochum (http://ep1.ruhr-uni-bochum.de)

The latest source code is here: https://github.com/ttrubep1/AlarmNotifications

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file oldgcccompat.h.

Macro Definition Documentation

#define final

Allow using the final keyword with GCC < 4.7.

Definition at line 72 of file oldgcccompat.h.

#define noexcept   throw()

Allow using the noexcept keyword with GCC < 4.6.

Definition at line 52 of file oldgcccompat.h.

#define nullptr   NULL

Allow using the nullptr keyword with GCC < 4.6.

Definition at line 56 of file oldgcccompat.h.

#define OLDGCC46COMPAT   1

Enable compatibility code for GCC < 4.6.

This macro will be set to 1 if the compatibility mode is activated (i.e. the gcc version used is lower than 4.6). If the compatibility mode is not needed, the macro will be set to 0.

Definition at line 48 of file oldgcccompat.h.

#define OLDGCC47COMPAT   1

Enable compatibility code for GCC < 4.7.

This macro will be set to 1 if the compatibility mode is activated (i.e. the gcc version used is lower than 4.7). If the compatibility mode is not needed, the macro will be set to 0.

Definition at line 68 of file oldgcccompat.h.