ARM VERSION 1.2 Datasheet Page 49

  • Download
  • Add to my manuals
  • Print
  • Page
    / 276
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 48
C and C++ Compilers
ARM DUI 0067D Copyright © 1999-2001 ARM Limited. All rights reserved. 2-31
2.3.10 Controlling warning messages
The compiler issues warnings about potential portability problems and other hazards.
The compiler options enable you to turn off specific warnings. For example, you can
turn off warnings if you are in the early stages of porting a program written in old-style
C. In general, it is better to check the code than to switch off warnings.
The options are on by default, unless specified otherwise.
See also Specifying additional checks on page 2-35 for descriptions of additional
warning messages.
The general form of the
-W
compiler option is:
-W[options][+][options]
where the
options
field contains zero or more characters.
If the
+
character is included in the characters following the
-W
, the warnings
corresponding to any following letters are enabled rather than suppressed.
You can specify several options at the same time. For example:
-Wad+fg
turns off the warning messages specified by
a
and
d
, and turns on the warning messages
specified by
f
and
g
.
The warning message options are as follows:
-W
This option suppresses all warnings. If one or more letters follow the
option, only the warnings controlled by those letters are suppressed.
-Wa
This option suppresses the warning:
C2961W: Use of the assignment operator in a condition context
This warning is normally given when the compiler finds a statement such
as:
if (a = b) {...
where it is possible that one of the following is intended:
if ((a = b) != 0) {...
if (a == b) {...
-Wb
This option suppresses the warning messages that are issued for
extensions to the ANSI standard. Examples include:
using an unwidened type in an ANSI C assignment
specifying bitfields with a type of
char
,
short
,
long
, or
long long
Page view 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 275 276

Comments to this Manuals

No comments

Belkin F8E858-BNDL manuals

Owner’s manuals and user’s guides for Keyboards Belkin F8E858-BNDL.
We providing 1 pdf manuals Belkin F8E858-BNDL for download free by document types: User Manual






More products and manuals for Keyboards Belkin

Models Document Type
G700 User's Guide   Belkin G700 User guide, 19 pages
G700 User Manual    Operating the G700 Keyboard, 19 pages
F8E860ukBNDL User Manual   Belkin F8E860ukBNDL User manual, 21 pages
F8E458 User Manual    User Guide for the Portable PDA Keyboard for Palm, 21 pages
F8Q1502 User's Guide   Belkin F8Q1502 User guide, 19 pages
M500 User Manual   User Guide for the Portable PDA Keyboard for Palm™ m500, 20 pages
F8E883UK User Manual   Belkin F8E883UK User manual, 16 pages
F8E829-BNDL User Manual   Belkin F8E829-BNDL User manual, 29 pages
F8E206 - Wired Keyboard Installation Guide    Belkin F8E206 - Wired Keyboard Installation guide, 16 pages
F1DP116AEA User Manual   Belkin F1DP116AEA User manual, 51 pages
F1DS102Jea User Manual   Belkin F1DS102Jea User manual, 36 pages
SnapNType User's Guide   Belkin SnapNType User guide, 16 pages
Keyboard Folio Installation Guide     Belkin Keyboard Folio Install guide, 46 pages
F1DK102U - KVM Switch With Cabling User's Guide   Belkin F1DK102U - KVM Switch With Cabling User guide, 16 pages
Keyboard Folio Installation Guide     Belkin Keyboard Folio Install guide [de] [en] , 48 pages
F8Y1501 - G700 Series Portable PDA Keyboard Specifications   Belkin F8Y1501 - G700 Series Portable PDA Keyboard Specifications [en] , 7 pages