Support for database application development in C++

Application development for Db2® databases is supported on a range of C++ language compilers.

The following table lists C++ compilers that are supported for Db2 database application development.

Unless otherwise noted, compilers that are listed in the table have the following extra support:
  • 32-bit and 64-bit application development.
  • Newer level of compilers than the listed.
Table 1. Supported C++ compilers
Operating System Supported Compiler(s)
AIX®
  • IBM® XL C/C++ Enterprise Edition Version 11.1 for AIX
  • IBM XL C/C++ Enterprise Edition Version 12.1 for AIX
  • IBM XL C/C++ Enterprise Edition Version 13.1 for AIX
Note: C++11 features are not supported.
Linux® on x86
  • GNU/Linux g++ Versions 4.3
  • IntelC/C++ Compiler Version 13.0
  • IntelC/C++ Compiler Version 16.0
Linux on x64
  • GNU/Linux g++ Versions 4.3
  • IntelC/C++ Compiler Version 13.0
  • IntelC/C++ Compiler Version 16.0
Linux on POWER® (PowerPC®, Power Systems Servers, IBM Power Systems)
  • GNU/Linux g++ Versions 4.8
  • IBM XL C/C++ Enterprise Edition Version 13.1
Linux on zSeries (s/390x)
  • GNU/Linux g++ Versions 4.8
  • XL C/C++ for zLinux 1.1
Solaris on UltraSPARC
  • Sun Studio 10
  • Sun Studio 11
  • Sun Studio 12
  • Forte C++ Version 6.2
  • Sun ONE Studio 7, Compiler Collection
Windows on x86
  • Intel Proton Compiler for Windows 32-bit applications, Version 13.1
  • Intel C Compiler Version 16.1
  • Microsoft Visual C++ 2010, 2012, 2013
Windows on x64
  • Intel Proton Compiler for Windows 32-bit applications, Version 13.1
  • Intel C Compiler Version 16.1
  • Microsoft Visual C++ 2010, 2012, 2013