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.

Indextype attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189specifying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213type definitions, used for specifying memory storage .18, 191type information, omitting . . . . . . . . . . . . . . . . . . . . . . . . 161type qualifiers, const and volatile . . . . . . . . . . . . . . . . . . . 176typedefsexcluding from diagnostics . . . . . . . . . . . . . . . . . . . . . 158repeated . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186using in preprocessor extensions . . . . . . . . . . . . . . . . . 155type-based alias analysis (compiler transformation) . . . . . 123disabling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158type-safe memory management . . . . . . . . . . . . . . . . . . . . 101type_attribute (pragma directive) . . . . . . . . . . . . . . . . 17, 213typographic conventions . . . . . . . . . . . . . . . . . . . . . . . . . xxivUuintptr_t (integer type) . . . . . . . . . . . . . . . . . . . . . . . . . . . 175underflow range errors,implementation-defined behavior . . . . . . . . . . . . . . . 258, 262unionsanonymous. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115, 181implementation-defined behavior. . . . . . . . . . . . . . . . . 255unsigned char (data type) . . . . . . . . . . . . . . . . . . . . . 170–171changing to signed char . . . . . . . . . . . . . . . . . . . . . . . . 144unsigned int (data type). . . . . . . . . . . . . . . . . . . . . . . . . . . 170unsigned long long (data type) . . . . . . . . . . . . . . . . . . . . . 170unsigned long (data type) . . . . . . . . . . . . . . . . . . . . . . . . . 170unsigned short (data type). . . . . . . . . . . . . . . . . . . . . . . . . 170utility (STL header file) . . . . . . . . . . . . . . . . . . . . . . . . . . 235VVARARGS (pragma directive) . . . . . . . . . . . . . . . . . . . . . 258variable type information, omitting in object output . . . . . 161variablesauto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20–21defined inside a function . . . . . . . . . . . . . . . . . . . . . . . . 20global placement in memory . . . . . . . . . . . . . . . . . . . . . 14hints for choosing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124local, See auto variablesnon-initialized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128omitting type info . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161placing at absolute addresses . . . . . . . . . . . . . . . . . . . . 119placing in named segments . . . . . . . . . . . . . . . . . . . . . 119staticplacement in memory . . . . . . . . . . . . . . . . . . . . . . . . 14taking the address of . . . . . . . . . . . . . . . . . . . . . . . . 124static and global, initializing . . . . . . . . . . . . . . . . . . . . . 37vector (pragma directive) . . . . . . . . . . . . . . . . . . . . . . 24, 214vector (STL header file) . . . . . . . . . . . . . . . . . . . . . . . . . . 235__VER__ (predefined symbol) . . . . . . . . . . . . . . . . . . . . . 228version, <strong>IAR</strong> Embedded Workbench. . . . . . . . . . . . . . . . . . .iiversion, of compiler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228version1 calling convention . . . . . . . . . . . . . . . . . . . . . . . . 90version2 calling convention . . . . . . . . . . . . . . . . . . . . . . . . 90vfscanf, C99 extension . . . . . . . . . . . . . . . . . . . . . . . . . . . 238vfwscanf, C99 extension. . . . . . . . . . . . . . . . . . . . . . . . . . 238void, pointers to . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186volatile (keyword). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126volatile, declaring objects . . . . . . . . . . . . . . . . . . . . . . . . . 176vscanf, C99 extension . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238vsnprintf, C99 extension . . . . . . . . . . . . . . . . . . . . . . . . . . 238vsscanf, C99 extension . . . . . . . . . . . . . . . . . . . . . . . . . . . 238vswscanf, C99 extension. . . . . . . . . . . . . . . . . . . . . . . . . . 238vwscanf, C99 extension . . . . . . . . . . . . . . . . . . . . . . . . . . 238W#warning message (preprocessor extension) . . . . . . . . . . . 229warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137classifying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148disabling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159exit code. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166warnings (pragma directive) . . . . . . . . . . . . . . . . . . . . . . . 258--warnings_affect_exit_code (compiler option) . . . . . . . . 136--warnings_are_errors (compiler option) . . . . . . . . . . . . . 166283

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

Saved successfully!

Ooh no, something went wrong!