Chapter 6. Programming hints and tips

In developing your application with C or C++, you may encounter problems while compiling, linking, or executing for the first time.

This chapter starts off by offering some general programming tips that would make an application perform better on AIX:

  • Section 6.1, “Programming recommendations” on page 220

The next sections continue to describe some of the more common errors that you may encounter during the different phases of the development cycle:

  • Section 6.2, “Diagnosing compile-time errors” on page 227

  • Section 6.3, “Diagnosing link-time errors” on page 239

  • Section 6.4, “Diagnosing run-time errors” on page 244

All the options and #pragma directives referred to in this chapter are explained in more details ...

Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.