From 775c24e79fd81740a9633a5b7cee854c89faf36c Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 4 Jun 2014 19:22:51 +0200 Subject: split out and doc lib update warnings from test.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/test/test.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) (limited to 'src/test/test.c') diff --git a/src/test/test.c b/src/test/test.c index e21bf51..ceff71b 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -17,6 +17,8 @@ */ #include +#include "update-warnings.h" + #include #include #include @@ -24,24 +26,6 @@ #include -#ifdef __GNUC__ -# if LIBGAMMA_ERROR_MIN < -46 -# warning New error codes have been added to libgamma. -# endif -# if LIBGAMMA_METHOD_COUNT > 6 -# warning New adjust methods has been added to libgamma -# endif -# if LIBGAMMA_CONNECTOR_TYPE_COUNT > 20 -# warning New connector types have been added to libgamma. -# endif -# if LIBGAMMA_SUBPIXEL_ORDER_COUNT > 6 -# warning New subpixel orders have been added to libgamma. -# endif -# if LIBGAMMA_CRTC_INFO_COUNT > 13 -# warning New CRTC information fields have been added to libgamma. -# endif -#endif - static const char* method_name(int method) { -- cgit v1.2.3-70-g09d2