check for -Wshift-negative-value
[AROS.git] / config / compiler.cfg.in
blob3d79e4d119e68b54106dee27fa988f45b8987bed
2 # This file is autogenerated and contains the supported
3 # features and warnings for target compilers.
6 # Standard compiler features ...
8 CFLAGS_EXCEPTIONS                       := @aros_cflags_exceptions@
9 CFLAGS_PERMISSIVE                       := @aros_cflags_permissive@
12 CFLAGS_FAST_MATH                        := @aros_cflags_fast_math@
13 CFLAGS_NO_BUILTIN_FLOOR                 := @aros_cflags_no_builtin_floor@
16 # LTO/Graphite optimization flags
18 CFLAGS_LTO                              := @aros_cflags_lto@
19 CFLAGS_NO_LTO                           := @aros_cflags_nolto@
20 CFLAGS_WHOLE_PROGRAM                    := @aros_cflags_whole_program@
21 CFLAGS_LOOP_BLOCK                       := @aros_cflags_loop_block@
22 CFLAGS_LOOP_INTERCHANGE                 := @aros_cflags_loop_interchange@
23 CFLAGS_LOOP_STRIP_MINE                  := @aros_cflags_loop_strip_mine@
26 CFLAGS_PEEL_LOOPS                       := @aros_cflags_peel_loops@
27 CFLAGS_UNROLL_LOOPS                     := @aros_cflags_unroll_loops@
30 CFLAGS_STRICT_ALIASING                  := @aros_cflags_strictaliasing@
31 CFLAGS_NO_STRICT_ALIASING               := @aros_cflags_nostrictaliasing@
34 CFLAGS_INLINE_SMALL_FUNCTIONS           := @aros_cflags_inlinesmallfunctions@
35 CFLAGS_NO_INLINE_SMALL_FUNCTIONS        := @aros_cflags_noinlinesmallfunctions@
38 CFLAGS_IPA_CP                           := @aros_cflags_ipacp@
39 CFLAGS_NO_IPA_CP                        := @aros_cflags_noipacp@
42 # -iquote support
44 CFLAGS_IQUOTE                           := @aros_cflags_iquote@
45 CFLAGS_IQUOTE_END                       := @aros_cflags_iquote_end@
48 # -mno-red-zone support
50 CFLAGS_NO_RED_ZONE                      := @aros_cflags_no_red_zone@
53 # "Enable" compiler warning flags
56 WARN_ERROR                              := @aros_warnflags_error@
58 WARN_UNUSED_COMMAND_LINE_ARGUMENT       := @aros_warnflags_unused_command_line_argument@
59 WARN_UNKNOWN_WARNING_OPTION             := @aros_warnflags_unknown_warning_option@
61 WARN_UNUSED_BUT_SET_VARIABLE            := @aros_warnflags_unused_but_set_variable@
62 WARN_STRICT_ALIASING                    := @aros_warnflags_strict_aliasing@
63 WARN_ARRAY_BOUNDS                       := @aros_warnflags_array_bounds@
64 WARN_ENUM_COMPARE                       := @aros_warnflags_enum_compare@
65 WARN_BOOL_COMPARE                       := @aros_warnflags_bool_compare@
66 WARN_SIGN_COMPARE                       := @aros_warnflags_sign_compare@
67 WARN_NONNULL_COMPARE                    := @aros_warnflags_nonnull_compare@
68 WARN_OVERFLOW                           := @aros_warnflags_overflow@
69 WARN_STRICT_OVERFLOW                    := @aros_warnflags_strict_overflow@
70 WARN_FORMAT_SECURITY                    := @aros_warnflags_format_security@
71 WARN_MISLEADING_INDENTATION             := @aros_warnflags_misleading_indentation@
72 WARN_UNUSED                             := @aros_warnflags_unused@
73 WARN_UNUSED_LABEL                       := @aros_warnflags_unused_label@
74 WARN_UNUSED_VALUE                       := @aros_warnflags_unused_value@
75 WARN_UNUSED_VARIABLE                    := @aros_warnflags_unused_variable@
76 WARN_UNUSED_FUNCTION                    := @aros_warnflags_unused_function@
77 WARN_UNUSED_PARAMETER                   := @aros_warnflags_unused_parameter@
78 WARN_IMPLICIT_FUNCTION_DECL             := @aros_warnflags_implicit_function_declaration@
79 WARN_UNINITIALIZED                      := @aros_warnflags_uninitialized@
80 WARN_MAYBE_UNINITIALIZED                := @aros_warnflags_maybe_uninitialized@
81 WARN_FORMAT                             := @aros_warnflags_format@
82 WARN_PARENTHESES                        := @aros_warnflags_parentheses@
83 WARN_CHAR_SUBSCRIPTS                    := @aros_warnflags_char_subscripts@
84 WARN_ENDIF_LABELS                       := @aros_warnflags_endif_labels@
85 WARN_FORMAT_CONTAINS_NUL                := @aros_warnflags_format_contains_nul@
86 WARN_IMPLICIT_INT                       := @aros_warnflags_implicit_int@
87 WARN_AGGRESSIVE_LOOP_OPT                := @aros_warnflags_aggressive_loop_optimizations@
88 WARN_CPP                                := @aros_warnflags_cpp@
89 WARN_SWITCH                             := @aros_warnflags_switch@
90 WARN_DISCARDED_QUALIFIERS               := @aros_warnflags_discarded_qualifiers@
91 WARN_SEQUENCE_POINT                     := @aros_warnflags_sequence_point@
92 WARN_UNKNOWN_PRAGMAS                    := @aros_warnflags_unknown_pragmas@
93 WARN_DISCARDED_ARRAY_QUAL               := @aros_warnflags_discarded_array_qualifiers@
94 WARN_INT_CONVERSION                     := @aros_warnflags_int_conversion@
95 WARN_INT_TO_POINTER_CAST                := @aros_warnflags_int_to_pointer_cast@
96 WARN_POINTER_TO_INT_CAST                := @aros_warnflags_pointer_to_int_cast@
97 WARN_UNUSED_CONST_VARIABLE              := @aros_warnflags_unused_const_variable@
98 WARN_WRITE_STRINGS                      := @aros_warnflags_write_strings@
99 WARN_COMMENT                            := @aros_warnflags_comment@
100 WARN_INCOMPAT_POINTER_TYPES             := @aros_warnflags_incompatible_pointer_types@
101 WARN_LOGICAL_NOT_PARENTHESES            := @aros_warnflags_logical_not_parentheses@
102 WARN_STRICT_PROTOTYPES                  := @aros_warnflags_strict_prototypes@
103 WARN_POINTER_SIGN                       := @aros_warnflags_pointer_sign@
104 WARN_SHIFT_OVERFLOW                     := @aros_warnflags_shift_overflow@
105 WARN_FRAME_ADDRESS                      := @aros_warnflags_frame_address@
106 WARN_DEPRECATED_DECLARATIONS            := @aros_warnflags_deprecated_declarations@
107 WARN_ATTRIBUTES                         := @aros_warnflags_attributes@
108 WARN_UNUSED_LOCAL_TYPEDEFS              := @aros_warnflags_unused_local_typedefs@
109 WARN_MISSING_BRACES                     := @aros_warnflags_missing_braces@
110 WARN_CONVERSION_NULL                    := @aros_warnflags_conversion_null@
111 WARN_NARROWING                          := @aros_warnflags_narrowing@
112 WARN_VOLATILE_REGISTER_VAR              := @aros_warnflags_volatile_register_var@
113 WARN_SIZEOF_POINTER_MEMACCESS           := @aros_warnflags_sizeof_pointer_memaccess@
114 WARN_RETURN_TYPE                        := @aros_warnflags_return_type@
115 WARN_FORMAT_ZERO_LENGTH                 := @aros_warnflags_format_zero_length@
116 WARN_LTO_TYPE_MISMATCH                  := @aros_warnflags_lto_type_mismatch@
117 WARN_TAUTOLOGICAL_COMPARE               := @aros_warnflags_tautological_compare@
118 WARN_EMPTY_BODY                         := @aros_warnflags_empty_body@
119 WARN_STRINGOP_OVERFLOW                  := @aros_warnflags_stringop_overflow@
120 WARN_FORMAT_TRUNCATION                  := @aros_warnflags_format_truncation@
121 WARN_SHIFT_NEGATIVE_VALUE               := @aros_warnflags_shift_negative_value@
124 # "Disable" compiler warning flags
127 NOWARN_ERROR                            := @aros_nowarnflags_error@
129 NOWARN_UNUSED_COMMAND_LINE_ARGUMENT     := @aros_nowarnflags_unused_command_line_argument@
130 NOWARN_UNKNOWN_WARNING_OPTION           := @aros_nowarnflags_unknown_warning_option@
132 NOWARN_UNUSED_BUT_SET_VARIABLE          := @aros_nowarnflags_unused_but_set_variable@
133 NOWARN_STRICT_ALIASING                  := @aros_nowarnflags_strict_aliasing@
134 NOWARN_ARRAY_BOUNDS                     := @aros_nowarnflags_array_bounds@
135 NOWARN_ENUM_COMPARE                     := @aros_nowarnflags_enum_compare@
136 NOWARN_BOOL_COMPARE                     := @aros_nowarnflags_bool_compare@
137 NOWARN_SIGN_COMPARE                     := @aros_nowarnflags_sign_compare@
138 NOWARN_NONNULL_COMPARE                  := @aros_nowarnflags_nonnull_compare@
139 NOWARN_OVERFLOW                         := @aros_nowarnflags_overflow@
140 NOWARN_STRICT_OVERFLOW                  := @aros_nowarnflags_strict_overflow@
141 NOWARN_FORMAT_SECURITY                  := @aros_nowarnflags_format_security@
142 NOWARN_MISLEADING_INDENTATION           := @aros_nowarnflags_misleading_indentation@
143 NOWARN_UNUSED                           := @aros_nowarnflags_unused@
144 NOWARN_UNUSED_LABEL                     := @aros_nowarnflags_unused_label@
145 NOWARN_UNUSED_VALUE                     := @aros_nowarnflags_unused_value@
146 NOWARN_UNUSED_VARIABLE                  := @aros_nowarnflags_unused_variable@
147 NOWARN_UNUSED_FUNCTION                  := @aros_nowarnflags_unused_function@
148 NOWARN_UNUSED_PARAMETER                 := @aros_nowarnflags_unused_parameter@
149 NOWARN_IMPLICIT_FUNCTION_DECL           := @aros_nowarnflags_implicit_function_declaration@
150 NOWARN_UNINITIALIZED                    := @aros_nowarnflags_uninitialized@
151 NOWARN_MAYBE_UNINITIALIZED              := @aros_nowarnflags_maybe_uninitialized@
152 NOWARN_FORMAT                           := @aros_nowarnflags_format@
153 NOWARN_PARENTHESES                      := @aros_nowarnflags_parentheses@
154 NOWARN_CHAR_SUBSCRIPTS                  := @aros_nowarnflags_char_subscripts@
155 NOWARN_ENDIF_LABELS                     := @aros_nowarnflags_endif_labels@
156 NOWARN_FORMAT_CONTAINS_NUL              := @aros_nowarnflags_format_contains_nul@
157 NOWARN_IMPLICIT_INT                     := @aros_nowarnflags_implicit_int@
158 NOWARN_AGGRESSIVE_LOOP_OPT              := @aros_nowarnflags_aggressive_loop_optimizations@
159 NOWARN_CPP                              := @aros_nowarnflags_cpp@
160 NOWARN_SWITCH                           := @aros_nowarnflags_switch@
161 NOWARN_DISCARDED_QUALIFIERS             := @aros_nowarnflags_discarded_qualifiers@
162 NOWARN_SEQUENCE_POINT                   := @aros_nowarnflags_sequence_point@
163 NOWARN_UNKNOWN_PRAGMAS                  := @aros_nowarnflags_unknown_pragmas@
164 NOWARN_DISCARDED_ARRAY_QUAL             := @aros_nowarnflags_discarded_array_qualifiers@
165 NOWARN_INT_CONVERSION                   := @aros_nowarnflags_int_conversion@
166 NOWARN_INT_TO_POINTER_CAST              := @aros_nowarnflags_int_to_pointer_cast@
167 NOWARN_POINTER_TO_INT_CAST              := @aros_nowarnflags_pointer_to_int_cast@
168 NOWARN_UNUSED_CONST_VARIABLE            := @aros_nowarnflags_unused_const_variable@
169 NOWARN_WRITE_STRINGS                    := @aros_nowarnflags_write_strings@
170 NOWARN_COMMENT                          := @aros_nowarnflags_comment@
171 NOWARN_INCOMPAT_POINTER_TYPES           := @aros_nowarnflags_incompatible_pointer_types@
172 NOWARN_LOGICAL_NOT_PARENTHESES          := @aros_nowarnflags_logical_not_parentheses@
173 NOWARN_STRICT_PROTOTYPES                := @aros_nowarnflags_strict_prototypes@
174 NOWARN_POINTER_SIGN                     := @aros_nowarnflags_pointer_sign@
175 NOWARN_SHIFT_OVERFLOW                   := @aros_nowarnflags_shift_overflow@
176 NOWARN_FRAME_ADDRESS                    := @aros_nowarnflags_frame_address@
177 NOWARN_DEPRECATED_DECLARATIONS          := @aros_nowarnflags_deprecated_declarations@
178 NOWARN_ATTRIBUTES                       := @aros_nowarnflags_attributes@
179 NOWARN_UNUSED_LOCAL_TYPEDEFS            := @aros_nowarnflags_unused_local_typedefs@
180 NOWARN_MISSING_BRACES                   := @aros_nowarnflags_missing_braces@
181 NOWARN_CONVERSION_NULL                  := @aros_nowarnflags_conversion_null@
182 NOWARN_NARROWING                        := @aros_nowarnflags_narrowing@
183 NOWARN_VOLATILE_REGISTER_VAR            := @aros_nowarnflags_volatile_register_var@
184 NOWARN_SIZEOF_POINTER_MEMACCESS         := @aros_nowarnflags_sizeof_pointer_memaccess@
185 NOWARN_RETURN_TYPE                      := @aros_nowarnflags_return_type@
186 NOWARN_FORMAT_ZERO_LENGTH               := @aros_nowarnflags_format_zero_length@
187 NOWARN_LTO_TYPE_MISMATCH                := @aros_nowarnflags_lto_type_mismatch@
188 NOWARN_TAUTOLOGICAL_COMPARE             := @aros_nowarnflags_tautological_compare@
189 NOWARN_EMPTY_BODY                       := @aros_nowarnflags_empty_body@
190 NOWARN_STRINGOP_OVERFLOW                := @aros_nowarnflags_stringop_overflow@
191 NOWARN_FORMAT_TRUNCATION                := @aros_nowarnflags_format_truncation@
192 NOWARN_SHIFT_NEGATIVE_VALUE             := @aros_nowarnflags_shift_negative_value@