• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisión9d62f423ab380c774cda802b6516ee353d5afd2d (tree)
Tiempo2017-09-25 21:01:51
Autors.gusarov
Commiters.gusarov

Log Message

CT_BEGIN_EXTERNAL_HEADERS: Masked more warnings for gcc/mingw

Cambiar Resumen

Diferencia incremental

diff -r 28973e3e8cfa -r 9d62f423ab38 include/ctools/predef/external_headers.h
--- a/include/ctools/predef/external_headers.h Thu Aug 24 00:27:53 2017 +0300
+++ b/include/ctools/predef/external_headers.h Mon Sep 25 15:01:51 2017 +0300
@@ -55,7 +55,12 @@
5555 CT_GCC_IGNORE_WARNING(-Winline)\
5656 CT_GCC_IGNORE_WARNING_REORDER\
5757 CT_GCC_IGNORE_WARNING(-Wunused-local-typedefs)\
58- CT_GCC_IGNORE_WARNING(-Wunused-variable)
58+ CT_GCC_IGNORE_WARNING(-Wunused-variable)\
59+ CT_GCC_IGNORE_WARNING(-Wbool-compare)\
60+ CT_GCC_IGNORE_WARNING(-Wunused-parameter)\
61+ CT_GCC_IGNORE_WARNING(-Wextra)\
62+ CT_GCC_IGNORE_WARNING(-Wuninitialized)\
63+ CT_GCC_IGNORE_WARNING(-Wmaybe-uninitialized)
5964 # define CT_END_EXTERNAL_HEADERS\
6065 _Pragma("GCC diagnostic pop")
6166 # else
@@ -92,7 +97,12 @@
9297 CT_GCC_IGNORE_WARNING(-Winline)\
9398 CT_GCC_IGNORE_WARNING_REORDER\
9499 CT_GCC_IGNORE_WARNING(-Wunused-local-typedefs)\
95- CT_GCC_IGNORE_WARNING(-Wunused-variable)
100+ CT_GCC_IGNORE_WARNING(-Wunused-variable)\
101+ CT_GCC_IGNORE_WARNING(-Wbool-compare)\
102+ CT_GCC_IGNORE_WARNING(-Wunused-parameter)\
103+ CT_GCC_IGNORE_WARNING(-Wextra)\
104+ CT_GCC_IGNORE_WARNING(-Wuninitialized)\
105+ CT_GCC_IGNORE_WARNING(-Wmaybe-uninitialized)
96106 # define CT_END_EXTERNAL_HEADERS\
97107 _Pragma("GCC diagnostic pop")
98108 # else
Show on old repository browser