C and C++ applications

QNX SDP8.0Migrating to QNX OS 8.0Developer

Note:
You need to rebuild your binaries. You can't run binaries from an earlier version of the OS on QNX OS 8.0.

Libraries

  • The following functions have been removed from libc: _smalloc(), _scalloc(), _srealloc(), _sfree()
  • The inotify_* functions (e.g., inotify_add_watch(), inotify_init()) have moved from libc to a new library, libfsnotify.so (not to be confused with ionotify())
  • The following functions have been removed from stdlib.h: itoa(), ltoa(), lltoa(), ultoa(), ulltoa(), utoa(). Instead of these functions, you can use snprintf (), which provides more flexibility in the formatting of the output string. See the snprintf() entry in the QNX OS C Library Reference.

For a full list of functions that have been deprecated or discontinued, go to the QNX Software Development Platform 8.0 Deprecation and Discontinuation Notice.

C++ language standards

QNX SDP 8.0 offers support for C++17 and C++20 with libc++. (Support for C++11 and C++14 is discontinued.)

Various third-party sources can provide guidance on migrating your application to the supported standards. For example:

Page updated: