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 13.1.2 and later.
  • IBM OpenXL C/C++ 17.1.2 and later.
  • GNU gcc versions 4.8.5 and above
Note: Federation wrappers and UDX stored procedures compiled with IBM XL C/C++ or GNU gcc are not supported. Federation wrappers and UDX stored procedures must be recompiled with OpenXL C/C++.
Linux® on x86
  • GNU/Linux gcc versions 4.8 and above
  • Intel C/C++ Compiler Version 16.0 and up
Linux on x64
  • GNU/Linux gcc versions 4.8 and above
  • Intel C/C++ Compiler Version 16.0 and up
Linux on POWER® (PowerPC®, Power Systems Servers, IBM® Power Systems)
  • GNU/Linux gcc versions 4.8 and above
  • IBM XLC/C++ Enterprise Edition Version 13.1 and up
Linux on zSeries (s/390x)
  • GNU/Linux gcc versions 4.8 and up
Windows on x86
  • Intel C Compiler Version 16.1 and up
  • Microsoft®Visual C++ 2012 and up
Windows on x64
  • Intel C Compiler Version 16.1 and up
  • Microsoft®Visual C++ 2012 and up
Mac OS DS DRIVER Only
  • Intel C Compiler Version 16.1 and up