11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Pragma directivesdiag_warningSyntax#pragma diag_warning=tag[,tag,...]ParameterstagThe number of a diagnostic message, for example the messagenumber Pe826DescriptionUse this pragma directive to change the severity level to warning for the specifieddiagnostic messages.See also Diagnostics, page 136.include_aliasSyntax#pragma include_alias "orig_header" "subst_header"#pragma include_alias Parametersorig_headersubst_headerThe name of a header file for which you want to create an alias.The alias for the original header file.DescriptionExampleUse this pragma directive to provide an alias for a header file. This is useful forsubstituting one header file with another, and for specifying an absolute path to a relativefile.This pragma directive must appear before the corresponding #include directives andsubst_header must match its corresponding #include directive exactly.#pragma include_alias #include This example will substitute the relative file stdio.h with a counterpart locatedaccording to the specified path.See also Include file search procedure, page 134.Part 2. <strong>Compiler</strong> <strong>reference</strong>205

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!