Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#ffcccc
#include "stdio.h"  /* confusing, distinct from <stdio.h> */

/* ... */

Compliant Solution

Wiki MarkupThe solution addresses the problem by giving the local library a unique name (as per \[[PRE08-A. Guarantee that header file names are unique]\]) which makes it explicit that the library used is not the original.

Code Block
bgColor#ccccff
/* Using a local version of stdio.h */ 
#include "mystdio.h"

/* ... */

...