Associated article: Precompiled Headers & Normal C++ Semantics
Published source code and related files accompanying the article by Jeffrey Taylor in which he examines pre-compiled headers, like those in Visual C++, can halve the time it takes to build. However, it is possible also to arrange pre-compiled header files in a manner which is inconsistent with normal C++ semantics.
Pre-compiled Headers and Normal C++ Semantics by Jeffrey Taylor Example 1: (a) // Solaris JUST includes this file. #include <iostream.h> (b) // Visual C++ puts the start of this file into the precompiled header. #define STR1 "Charlie " #include &...