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...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Descriptions of optionsCommand line option--warnings_affect_exit_code--warnings_are_errorsTable 29: <strong>Compiler</strong> options summary (Continued)DescriptionWarnings affects exit codeWarnings are treated as errorsDescriptions of optionsThe following section gives detailed <strong>reference</strong> information about each compiler option.Note that if you use the options page Extra Options to specify specific command lineoptions, the <strong>IAR</strong> Embedded Workbench IDE does not perform an instant check forconsistency problems like conflicting options, duplication of options, or use ofirrelevant options.--char_is_signedSyntaxDescription--char_is_signedBy default, the compiler interprets the char type as unsigned. Use this option to makethe compiler interpret the char type as signed instead. This can be useful when you, forexample, want to maintain compatibility with another compiler.Note: The runtime library is compiled without the --char_is_signed option. If youuse this option, you may get type mismatch warnings from the linker, because the libraryuses unsigned char.Project>Options>C/<strong>C++</strong> <strong>Compiler</strong>>Language>Plain ‘char’ is--coreSyntaxParametersDescription--core={430|430X}430 (default) For devices based on the <strong>MSP430</strong> architecture430XFor devices based on the <strong>MSP430</strong>X architectureUse this option to select the architecture for which the code is to be generated. If you donot use the option, the compiler generates code for the <strong>MSP430</strong> architecture by default.The object code that is generated when compiling for the <strong>MSP430</strong> architecture can beexecuted also by the <strong>MSP430</strong>X architecture. The other way around is not possible.144<strong>MSP430</strong> <strong>IAR</strong> C/<strong>C++</strong> <strong>Compiler</strong>Reference Guide

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

Saved successfully!

Ooh no, something went wrong!