Pragma No_Pch - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

In the example,
#include "standard_defs.h"
#include "common_data.h"
#include "frequently_changing_data.h"
int i;
the default header stop point is start of the declaration of
not be a good choice, as in this example, "
might change frequently, causing the .
and, therefore, losing the benefit of precompiled headers.
The
pragma can be used to move the header stop to a more
hdrstop
appropriate place. In this case,
#include "standard_defs.h"
#include "common_data.h"
#pragma hdrstop
#include "frequently_changing_data.h"
int i;
the precompiled header file would not include the contents of
frequently_changing_data.h
Therefore, the precompiled header file would not need to be regenerated
each time
frequently_changing_data.h

#pragma no_pch

The
#pragma no_pch
(on page
1-40) for a particular source file. It directs the compiler not to
look for a .
pch
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
, as it is included after the
overrides the
file and not to generate one for the specified source file.
frequently_changing_data.h
file to be regenerated often,
pch
was modified.
(precomiled headers) switch
-pch
Compiler
. This might
i
"
pragma.
hdrstop
1-137

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents