GnuCOBOL  2.0
A free COBOL compiler
warning.def
Go to the documentation of this file.
1 /*
2  Copyright (C) 2003-2012, 2016 Free Software Foundation, Inc.
3  Written by Keisuke Nishida, Roger While
4 
5  This file is part of GnuCOBOL.
6 
7  The GnuCOBOL compiler is free software: you can redistribute it
8  and/or modify it under the terms of the GNU General Public License
9  as published by the Free Software Foundation, either version 3 of the
10  License, or (at your option) any later version.
11 
12  GnuCOBOL is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with GnuCOBOL. If not, see <http://www.gnu.org/licenses/>.
19 */
20 
21 
22 /* CB_WARNDEF (var, name, doc) */
23 
24 /* Do not include warning with -Wall */
25 /* CB_NOWARNDEF (var, name, doc) */
26 
27 CB_WARNDEF (cb_warn_obsolete, "obsolete",
28  _("warn if obsolete features are used"))
29 
30 CB_WARNDEF (cb_warn_archaic, "archaic",
31  _("warn if archaic features are used"))
32 
33 CB_WARNDEF (cb_warn_redefinition, "redefinition",
34  _("warn incompatible redefinition of data items"))
35 
36 CB_WARNDEF (cb_warn_constant, "constant",
37  _("warn inconsistent constant"))
38 
39 CB_WARNDEF (cb_warn_overlap, "overlap",
40  _("warn overlapping MOVE items"))
41 
42 CB_WARNDEF (cb_warn_parentheses, "parentheses",
43  _("warn lack of parentheses around AND within OR"))
44 
45 CB_WARNDEF (cb_warn_strict_typing, "strict-typing",
46  _("warn type mismatch strictly"))
47 
48 CB_WARNDEF (cb_warn_implicit_define, "implicit-define",
49  _("warn implicitly defined data items"))
50 
51 CB_WARNDEF (cb_warn_corresponding, "corresponding",
52  _("warn CORRESPONDING with no matching items"))
53 
54 CB_WARNDEF (cb_warn_external_val, "external-value",
55  _("warn EXTERNAL item with VALUE clause"))
56 
57 CB_WARNDEF (cb_warn_prototypes, "prototypes",
58  _("warn missing FUNCTION prototypes/definitions"))
59 
60 CB_NOWARNDEF (cb_warn_call_params, "call-params",
61  _("warn non 01/77 items for CALL params"))
62 
63 CB_NOWARNDEF (cb_warn_column_overflow, "column-overflow",
64  _("warn text after program-text area, FIXED format"))
65 
66 CB_NOWARNDEF (cb_warn_terminator, "terminator",
67  _("warn lack of scope terminator END-XXX"))
68 
69 CB_NOWARNDEF (cb_warn_truncate, "truncate",
70  _("warn possible field truncation"))
71 
72 CB_NOWARNDEF (cb_warn_linkage, "linkage",
73  _("warn dangling LINKAGE items"))
74 
75 CB_NOWARNDEF (cb_warn_unreachable, "unreachable",
76  _("warn unreachable statements"))
strict implicit external call column unreachable
Definition: warning.def:75
strict implicit external call column terminator
Definition: warning.def:66
archaic
Definition: warning.def:30
Definition: parser.c:1363
#define CB_NOWARNDEF(var, name, doc)
Definition: cobc.c:207
Definition: ppparse.c:600
strict typing
Definition: warning.def:45
strict implicit corresponding
Definition: warning.def:51
static size_t overlapping
Definition: typeck.c:103
Definition: parser.c:1659
strict implicit external call column truncate
Definition: warning.def:69
strict implicit external prototypes
Definition: warning.def:57
constant
Definition: warning.def:36
strict implicit define
Definition: warning.def:48
strict implicit external value
Definition: warning.def:54
if fold fold call
Definition: flag.def:48
#define VALUE(offset)
Definition: typeck.c:71
CB_WARNDEF(cb_warn_obsolete,"obsolete", _("warn if obsolete features are used")) CB_WARNDEF(cb_warn_archaic
Definition: parser.c:1473
overlap
Definition: warning.def:39
strict implicit external call column linkage
Definition: warning.def:72
Definition: parser.c:1394
strict implicit external call column overflow
Definition: warning.def:63
redefinition
Definition: warning.def:33
Definition: parser.c:1617
parentheses
Definition: warning.def:42
strict implicit external call params
Definition: warning.def:60
_("warn if archaic features are used")) CB_WARNDEF(cb_warn_redefinition
if fold fold static computed alternate extra correct stack on syntax debugging source implicit stack syntax write after
Definition: flag.def:105