This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

New ARI warning Fri Nov 23 01:56:26 UTC 2018


275a276,277
> gdb/inferior.c:335: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings.  Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/inferior.c:335:  for (inferior *inf ATTRIBUTE_UNUSED : all_non_exited_inferiors ())
> gdb/inferior.c:352: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings.  Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/inferior.c:352:      for (thread_info *tp ATTRIBUTE_UNUSED : inf->non_exited_threads ())
324a327
> gdb/mi/mi-interp.c:962: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings.  Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/mi/mi-interp.c:962:  for (inferior *inf ATTRIBUTE_UNUSED : all_non_exited_inferiors ())
527a531,532
> gdb/thread-iter.c:30: code: if assignment: An IF statement's expression contains an assignment (the GNU coding standard discourages this)
gdb/thread-iter.c:30:    if ((m_thr = m_inf->thread_list) != NULL)
> gdb/thread.c:579: regression: ATTRIBUTE_UNUSED: Do not use ATTRIBUTE_UNUSED, do not bother (GDB is compiled with -Werror and, consequently, is not able to tolerate false warnings.  Since -Wunused-param produces such warnings, neither that warning flag nor ATTRIBUTE_UNUSED are used by GDB
gdb/thread.c:579:  for (thread_info *tp ATTRIBUTE_UNUSED : all_threads ())


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]