Atmel CAVR-4 Manual De Usuario

Descargar
Página de 323
CAVR-4
Part 2. Compiler reference
Implementation-defined behavior
261
Including bracketed filenames (6.8.2)
For file specifications enclosed in angle brackets, the preprocessor does not search 
directories of the parent files. A parent file is the file that contains the 
#include
 
directive. Instead, it begins by searching for the file in the directories specified on the 
compiler command line.
Including quoted filenames (6.8.2)
For file specifications enclosed in quotes, the preprocessor directory search begins with 
the directories of the parent file, then proceeds through the directories of any 
grandparent files. Thus, searching begins relative to the directory containing the source 
file currently being processed. If there is no grandparent file and the file has not been 
found, the search continues as if the filename was enclosed in angle brackets.
Character sequences (6.8.2)
Preprocessor directives use the source character set, with the exception of escape 
sequences. Thus, to specify a path for an include file, use only one backslash:
#include "mydirectory\myfile"
Within source code, two backslashes are necessary:
file = fopen("mydirectory\\myfile","rt");
Recognized pragma directives (6.8.6)
The following pragma directives are recognized:
alignment
ARGSUSED
baseaddr
bitfields
can_instantiate
codeseg
constseg
cspy_support
data_alignment
dataseg
define_type_info
diag_default
diag_error
diag_remark
diag_suppress
diag_warning
do_not_instantiate
function
hdrstop