[c/c++/fortran] PR35058: -Werror= works only with some warnin
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Fri Jun 13 18:02:00 GMT 2008
* Manuel López-Ibáñez wrote on Fri, Jun 13, 2008 at 06:33:23PM CEST:
>
> (Writing this Changelog entry was a horrible horrible experience! And
> I find it totally uninformative. I think there is something wrong with
> our approach.)
I'm not sure how you do it. If you need some automation, install
exuberant ctags, and use vc-chlog.
<http://www.mail-archive.com/bug-coreutils@gnu.org/msg11198.html>
FWIW, below is the ChangeLog template it generates for your patch.
(It needs to be pruned for some changes that you do outside of
functions, and typically for headers).
Cheers,
Ralf
gcc/fortran/ChangeLog:
2008-06-13 Manuel López-Ibáñez <lopezibanez@gmail.com>
* f95-lang.c (gfc_mark_addressable):
gcc/cp/ChangeLog:
2008-06-13 Manuel López-Ibáñez <lopezibanez@gmail.com>
* call.c (build_conditional_expr, joust):
* decl.c (warn_extern_redeclared_static, duplicate_decls)
(identify_goto, check_previous_goto_1, check_goto, define_label)
(check_tag_decl, start_decl)
(check_class_member_definition_namespace, grokfndecl)
(check_static_variable_definition, compute_array_index_type)
(grokdeclarator, DEF_OPERATOR):
* decl2.c (finish_static_data_member_decl, build_anon_union_vars)
(coerce_new_type):
* error.c (maybe_warn_variadic_templates):
* except.c (check_handlers):
* friend.c (make_friend_class):
* init.c (perform_member_init, build_new_1, build_new):
* name-lookup.c (pushdecl_maybe_friend)
(check_for_out_of_scope_variable):
* parser.c (cp_parser_check_decl_spec)
(cp_parser_primary_expression)
(cp_parser_nested_name_specifier_opt)
(cp_parser_postfix_expression, cp_parser_jump_statement)
(cp_parser_declaration_seq_opt, cp_parser_mem_initializer)
(cp_parser_elaborated_type_specifier, cp_parser_enumerator_list)
(VEC, cp_parser_class_head, cp_parser_member_declaration)
(cp_parser_check_class_key):
* pt.c (check_specialization_namespace)
(check_explicit_instantiation_namespace)
(maybe_process_partial_specialization)
(check_explicit_specialization, convert_template_argument)
(do_decl_instantiation, do_type_instantiation, instantiate_decl):
* semantics.c (finish_template_type_parm):
* typeck.c (composite_pointer_type_r, composite_pointer_type)
(cxx_sizeof_or_alignof_type, cxx_sizeof_expr, cxx_alignof_expr)
(check_template_keyword, build_array_ref, cp_build_function_call)
(cp_build_binary_op, pointer_diff, cp_build_unary_op)
(build_x_compound_expr_from_list, convert_member_func_to_ptr)
(build_reinterpret_cast_1, cp_build_c_cast, check_return_expr)
(cp_apply_type_quals_to_decl):
* typeck2.c (cxx_incomplete_type_diagnostic, digest_init):
gcc/ChangeLog:
2008-06-13 Manuel López-Ibáñez <lopezibanez@gmail.com>
* builtins.c (fold_builtin_inf):
* c-common.c (fname_decl, fix_string_type)
(constant_expression_warning, check_main_parameter_types)
(pointer_int_sum, c_sizeof_or_alignof_type, c_add_case_label)
(finish_label_address_expr):
* c-decl.c (pop_scope, DECL_EXTERN_INLINE, implicit_decl_warning)
(shadow_tag_warned, build_array_declarator, start_decl)
(mark_forward_parm_decls, check_bitfield_type_and_width)
(warn_variable_length_array, grokdeclarator, grokparms)
(grokfield, finish_struct, build_enumerator, start_function)
(store_parm_decls_oldstyle, finish_function, declspecs_add_qual)
(declspecs_add_type, finish_declspecs)
(c_write_global_declarations_1):
* c-errors.c (pedwarn_c99, pedwarn_c90):
* c-lex.c (interpret_integer, interpret_float):
* c-parser.c (c_parser_translation_unit)
(c_parser_external_declaration, c_parser_declaration_or_fndef)
(c_parser_enum_specifier, c_parser_struct_or_union_specifier)
(c_parser_struct_declaration, c_parser_braced_init)
(c_parser_initelt, c_parser_compound_statement_nostart)
(c_parser_conditional_expression, c_parser_postfix_expression)
(c_parser_postfix_expression_after_paren_type)
(c_parser_objc_class_instance_variables)
(c_parser_objc_method_definition, c_parser_objc_methodprotolist):
* c-tree.h (c_build_type_variant, ATTRIBUTE_GCC_CDIAG):
* c-typeck.c (composite_type, comp_target_types)
(function_types_compatible_p, build_array_ref)
(build_external_ref, build_function_call, pointer_diff)
(build_unary_op, c_mark_addressable, build_conditional_expr)
(build_c_cast, WARN_FOR_ASSIGNMENT, pedwarn_init)
(maybe_warn_string_init, digest_init, pop_init_level)
(output_init_element, process_init_element, c_finish_goto_ptr)
(c_finish_return, build_binary_op):
* diagnostic.c (pedwarn, pedwarn0):
* toplev.c (check_global_declaration_1):
* toplev.h (ATTRIBUTE_GCC_DIAG):
More information about the Fortran
mailing list