plibsys 0.0.5
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.
 
#define P_CC_GNU
 GNU C/C++ compiler.
 
#define P_CC_MINGW
 MinGW C/C++ compiler.
 
#define P_CC_INTEL
 Intel C/C++ compiler.
 
#define P_CC_INTELX
 Intel DPC++/C++ compiler.
 
#define P_CC_CLANG
 LLVM Clang C/C++ compiler.
 
#define P_CC_SUN
 Sun WorkShop/Studio C/C++ compiler.
 
#define P_CC_XLC
 IBM XL C/C++ compiler.
 
#define P_CC_IXLC
 IBM XL C/C++ compiler (Clang-based).
 
#define P_CC_OXLC
 IBM Open XL C/C++ compiler.
 
#define P_CC_HP
 HP C/aC++ compiler.
 
#define P_CC_DEC
 DEC C/C++ compiler.
 
#define P_CC_MIPS
 MIPSpro C/C++ compiler.
 
#define P_CC_USLC
 SCO OUDK and UDK C/C++ compiler.
 
#define P_CC_WATCOM
 Watcom C/C++ compiler.
 
#define P_CC_BORLAND
 Borland C/C++ compiler.
 
#define P_CC_PGI
 Portland Group C/C++ compiler.
 
#define P_CC_CRAY
 Cray C/C++ compiler.
 
#define P_CC_LCC
 MCST C/C++ compiler.
 

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 311 of file pmacroscompiler.h.

◆ P_CC_CLANG

#define P_CC_CLANG

LLVM Clang C/C++ compiler.

Since
0.0.1

Definition at line 281 of file pmacroscompiler.h.

◆ P_CC_CRAY

#define P_CC_CRAY

Cray C/C++ compiler.

Since
0.0.4

Definition at line 317 of file pmacroscompiler.h.

◆ P_CC_DEC

#define P_CC_DEC

DEC C/C++ compiler.

Since
0.0.2

Definition at line 299 of file pmacroscompiler.h.

◆ P_CC_GNU

#define P_CC_GNU

GNU C/C++ compiler.

Since
0.0.1

Definition at line 269 of file pmacroscompiler.h.

◆ P_CC_HP

#define P_CC_HP

HP C/aC++ compiler.

Since
0.0.1

Definition at line 296 of file pmacroscompiler.h.

◆ P_CC_INTEL

#define P_CC_INTEL

Intel C/C++ compiler.

Since
0.0.1

Definition at line 275 of file pmacroscompiler.h.

◆ P_CC_INTELX

#define P_CC_INTELX

Intel DPC++/C++ compiler.

Since
0.0.5

Definition at line 278 of file pmacroscompiler.h.

◆ P_CC_IXLC

#define P_CC_IXLC

IBM XL C/C++ compiler (Clang-based).

Since
0.0.5

Definition at line 290 of file pmacroscompiler.h.

◆ P_CC_LCC

#define P_CC_LCC

MCST C/C++ compiler.

Since
0.0.5

Definition at line 320 of file pmacroscompiler.h.

◆ P_CC_MINGW

#define P_CC_MINGW

MinGW C/C++ compiler.

Since
0.0.1

Definition at line 272 of file pmacroscompiler.h.

◆ P_CC_MIPS

#define P_CC_MIPS

MIPSpro C/C++ compiler.

Since
0.0.1

Definition at line 302 of file pmacroscompiler.h.

◆ P_CC_MSVC

#define P_CC_MSVC

Microsoft Visual C/C++ compiler.

Since
0.0.1

Definition at line 266 of file pmacroscompiler.h.

◆ P_CC_OXLC

#define P_CC_OXLC

IBM Open XL C/C++ compiler.

Since
0.0.5

Definition at line 293 of file pmacroscompiler.h.

◆ P_CC_PGI

#define P_CC_PGI

Portland Group C/C++ compiler.

Since
0.0.3

Definition at line 314 of file pmacroscompiler.h.

◆ P_CC_SUN

#define P_CC_SUN

Sun WorkShop/Studio C/C++ compiler.

Since
0.0.1

Definition at line 284 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 305 of file pmacroscompiler.h.

◆ P_CC_WATCOM

#define P_CC_WATCOM

Watcom C/C++ compiler.

Since
0.0.1

Definition at line 308 of file pmacroscompiler.h.

◆ P_CC_XLC

#define P_CC_XLC

IBM XL C/C++ compiler.

Since
0.0.1

Definition at line 287 of file pmacroscompiler.h.