plibsys  0.0.4
Macros
pmacroscompiler.h File Reference

Compiler detection macros. More...

Go to the source code of this file.

Macros

#define P_CC_MSVC
 Microsoft Visual C/C++ compiler. More...
 
#define P_CC_GNU
 GNU C/C++ compiler. More...
 
#define P_CC_MINGW
 MinGW C/C++ compiler. More...
 
#define P_CC_INTEL
 Intel C/C++ compiler. More...
 
#define P_CC_CLANG
 LLVM Clang C/C++ compiler. More...
 
#define P_CC_SUN
 Sun WorkShop/Studio C/C++ compiler. More...
 
#define P_CC_XLC
 IBM XL C/C++ compiler. More...
 
#define P_CC_HP
 HP C/aC++ compiler. More...
 
#define P_CC_DEC
 DEC C/C++ compiler. More...
 
#define P_CC_MIPS
 MIPSpro C/C++ compiler. More...
 
#define P_CC_USLC
 SCO OUDK and UDK C/C++ compiler. More...
 
#define P_CC_WATCOM
 Watcom C/C++ compiler. More...
 
#define P_CC_BORLAND
 Borland C/C++ compiler. More...
 
#define P_CC_PGI
 Portland Group C/C++ compiler. More...
 
#define P_CC_CRAY
 Cray C/C++ compiler. More...
 

Detailed Description

Compiler detection macros.

Author
Alexander Saprykin

All the macros are completely independent of any other platform-specific headers, thus gurantee to work with any compiler under any operating system in the same way as they are used within the library.

This family of macros provides compiler detection and defines one or several of P_CC_x macros.

Definition in file pmacroscompiler.h.

Macro Definition Documentation

◆ P_CC_BORLAND

#define P_CC_BORLAND

Borland C/C++ compiler.

Since
0.0.1

Definition at line 243 of file pmacroscompiler.h.

◆ P_CC_CLANG

#define P_CC_CLANG

LLVM Clang C/C++ compiler.

Since
0.0.1

Definition at line 219 of file pmacroscompiler.h.

◆ P_CC_CRAY

#define P_CC_CRAY

Cray C/C++ compiler.

Since
0.0.4

Definition at line 249 of file pmacroscompiler.h.

◆ P_CC_DEC

#define P_CC_DEC

DEC C/C++ compiler.

Since
0.0.2

Definition at line 231 of file pmacroscompiler.h.

◆ P_CC_GNU

#define P_CC_GNU

GNU C/C++ compiler.

Since
0.0.1

Definition at line 210 of file pmacroscompiler.h.

◆ P_CC_HP

#define P_CC_HP

HP C/aC++ compiler.

Since
0.0.1

Definition at line 228 of file pmacroscompiler.h.

◆ P_CC_INTEL

#define P_CC_INTEL

Intel C/C++ compiler.

Since
0.0.1

Definition at line 216 of file pmacroscompiler.h.

◆ P_CC_MINGW

#define P_CC_MINGW

MinGW C/C++ compiler.

Since
0.0.1

Definition at line 213 of file pmacroscompiler.h.

◆ P_CC_MIPS

#define P_CC_MIPS

MIPSpro C/C++ compiler.

Since
0.0.1

Definition at line 234 of file pmacroscompiler.h.

◆ P_CC_MSVC

#define P_CC_MSVC

Microsoft Visual C/C++ compiler.

Since
0.0.1

Definition at line 207 of file pmacroscompiler.h.

◆ P_CC_PGI

#define P_CC_PGI

Portland Group C/C++ compiler.

Since
0.0.3

Definition at line 246 of file pmacroscompiler.h.

◆ P_CC_SUN

#define P_CC_SUN

Sun WorkShop/Studio C/C++ compiler.

Since
0.0.1

Definition at line 222 of file pmacroscompiler.h.

◆ P_CC_USLC

#define P_CC_USLC

SCO OUDK and UDK C/C++ compiler.

Since
0.0.1

Definition at line 237 of file pmacroscompiler.h.

◆ P_CC_WATCOM

#define P_CC_WATCOM

Watcom C/C++ compiler.

Since
0.0.1

Definition at line 240 of file pmacroscompiler.h.

◆ P_CC_XLC

#define P_CC_XLC

IBM XL C/C++ compiler.

Since
0.0.1

Definition at line 225 of file pmacroscompiler.h.