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.

<strong>Compiler</strong> options--ec++SyntaxDescription--ec++In the <strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>, the default language is C. If you use Embedded<strong>C++</strong>, you must use this option to set the language the compiler uses to Embedded <strong>C++</strong>.Project>Options>C/<strong>C++</strong> <strong>Compiler</strong>>Language>Embedded <strong>C++</strong>--eec++SyntaxDescription--eec++In the <strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>, the default language is C. If you take advantageof Extended Embedded <strong>C++</strong> features like namespaces or the standard template libraryin your source code, you must use this option to set the language the compiler uses toExtended Embedded <strong>C++</strong>.See also Extended Embedded <strong>C++</strong>, page 102.Project>Options>C/<strong>C++</strong> <strong>Compiler</strong>>Language>Extended Embedded <strong>C++</strong>--enable_multibytesSyntaxDescription--enable_multibytesBy default, multibyte characters cannot be used in C or <strong>C++</strong> source code. Use this optionto make multibyte characters in the source code be interpreted according to the hostcomputer’s default setting for multibyte support.Multibyte characters are allowed in C and <strong>C++</strong> style comments, in string literals, and incharacter constants. They are transferred untouched to the generated code.Project>Options>C/<strong>C++</strong> <strong>Compiler</strong>>Language>Enable multibyte supportPart 2. <strong>Compiler</strong> <strong>reference</strong>151

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

Saved successfully!

Ooh no, something went wrong!