11.07.2015 Views

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

PicC 9.50 dsPIC Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

DSPICC Command-line DriverDSPICC Compiler Options2.4.42 --SCANDEP: Scan for DependenciesWhen this option is used, a .dep (dependency) file is generated. The dependency file lists those fileson which the source file is dependant. Dependencies result when one file is #included into another.This option is used to supply alternative command line options for the named application whencompiling. This option is not required for most projects.2.4.44 --STRICT: Strict ANSI Conformance2.4.43 --SETOPTION=app,file: Set The Command-line Options for ApplicationThe --STRICT option is used to enable strict ANSI conformance of all special keywords. HI-TECH C supports various special keywords (for example the persistent type qualifier). If the--STRICT option is used, these keywords are changed to include two underscore characters atthe beginning of the keyword (e.g. __persistent) so as to strictly conform to the ANSI standard.Be warned that use of this option may cause problems with some standard header files (e.g.).2.4.45 --SUMMARY=type: Select Memory Summary Output TypeUse this option to select the type of memory summary that is displayed after compilation. By default,or if the mem suboption is selected, a memory summary is shown. This shows the memory usage forall available linker classes.A psect summary may be shown by enabling the psect suboption. This shows individual psects,after they have been grouped by the linker, and the memory ranges they cover.2.4.46 --VER: Display The Compiler’s Version InformationThe --VER option will display what version of the compiler is running.2.4.47 --WARN=level: Set Warning LevelThe --WARN option is used to set the compiler warning level. Allowable warning levels range from-9 to 9. The warning level determines how pedantic the compiler is about dubious type conversionsand constructs. The default warning level --WARN=lvl0 will allow all normal warning messages.Warning level --WARN=lvl1 will suppress the message Func() declared implicit int.--WARN=lvl3 is recommended for compiling code originally written with other, less strict, compilers.--WARN=lvl9 will suppress all warning messages. Negative warning levels --WARN=lvl-1,21

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

Saved successfully!

Ooh no, something went wrong!