diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-04 19:22:51 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-04 19:22:55 +0200 |
commit | 775c24e79fd81740a9633a5b7cee854c89faf36c (patch) | |
tree | 17127b624b5eac3697a491c7c0a6d220d3cbd4fb /src/test/test.c | |
parent | add dist (diff) | |
download | libgamma-775c24e79fd81740a9633a5b7cee854c89faf36c.tar.gz libgamma-775c24e79fd81740a9633a5b7cee854c89faf36c.tar.bz2 libgamma-775c24e79fd81740a9633a5b7cee854c89faf36c.tar.xz |
split out and doc lib update warnings from test.c
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 20 |
1 files changed, 2 insertions, 18 deletions
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 <libgamma.h> +#include "update-warnings.h" + #include <stdio.h> #include <stdlib.h> #include <errno.h> @@ -24,24 +26,6 @@ #include <unistd.h> -#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) { |