Created
February 20, 2020 18:24
-
-
Save openedev/018fa825f76592a207d5be6e33cdaf19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 92243d1e1b073fa0c366c8e842344f42c04ac6b4 Mon Sep 17 00:00:00 2001 | |
| From: Jagan Teki <jagan@amarulasolutions.com> | |
| Date: Thu, 20 Feb 2020 23:35:00 +0530 | |
| Subject: [PATCH] rkcamsrc: Fix build error with | |
| -Werror=deprecated-declarations | |
| MIME-Version: 1.0 | |
| Content-Type: text/plain; charset=UTF-8 | |
| Content-Transfer-Encoding: 8bit | |
| Fixes: | |
| rkcamsrc/rkcamsrc.c: In function ‘gst_rkcamsrc_create’: | |
| rkcamsrc/rkcamsrc.c:719:7: error: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Werror=deprecated-declarations] | |
| GTimeVal now; | |
| rkcamsrc/rkcamsrc.c:722:7: error: ‘g_get_current_time’ is deprecated: Use 'g_get_real_time' instead [-Werror=deprecated-declarations] | |
| g_get_current_time (&now); | |
| Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> | |
| --- | |
| configure.ac | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| diff --git a/configure.ac b/configure.ac | |
| index 0ba711f..71a7de6 100644 | |
| --- a/configure.ac | |
| +++ b/configure.ac | |
| @@ -288,7 +288,7 @@ AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [ | |
| -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls | |
| -Wwrite-strings -Wold-style-definition -Waggregate-return | |
| -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar | |
| - -Wnested-externs $NO_WARNINGS]) | |
| + -Wno-deprecated-declarations -Wnested-externs $NO_WARNINGS]) | |
| dnl define an ERROR_CXXFLAGS Makefile variable | |
| AG_GST_SET_ERROR_CXXFLAGS($FATAL_WARNINGS, [ | |
| -- | |
| 2.17.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment