-
-
Save cfoch/18891055d4006feb31af0bd12f57f9d7 to your computer and use it in GitHub Desktop.
This file contains 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
sh-4.4$ ninja | |
[1/29] Compiling C object 'gst-libs/gst/cheese/ca76057@@gstcheese-1.0@sha/face_cheesefacespriteframe.c.o'. | |
../gst-libs/gst/cheese/face/cheesefacespriteframe.c: In function ‘cheese_face_sprite_frame_set_property’: | |
../gst-libs/gst/cheese/face/cheesefacespriteframe.c:171:14: warning: unused variable ‘pixbuf’ [-Wunused-variable] | |
GdkPixbuf *pixbuf; | |
^~~~~~ | |
[3/29] Compiling C object 'gst-libs/gst/cheese/ca76057@@gstcheese-1.0@sha/face_cheesefacespritekeypoint.c.o'. | |
../gst-libs/gst/cheese/face/cheesefacespritekeypoint.c: In function ‘cheese_face_keypoint_get_type’: | |
../gst-libs/gst/cheese/face/cheesefacespritekeypoint.c:61:9: warning: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] | |
{ NULL, NULL, NULL} | |
^~~~ | |
../gst-libs/gst/cheese/face/cheesefacespritekeypoint.c:61:9: note: (near initialization for ‘keypoint_types[9].value’) | |
[4/29] Compiling C object 'gst-libs/gst/cheese/ca76057@@gstcheese-1.0@sha/face_cheesefacesprite.c.o'. | |
In file included from /usr/include/glib-2.0/gobject/gobject.h:24, | |
from /usr/include/glib-2.0/gobject/gbinding.h:29, | |
from /usr/include/glib-2.0/glib-object.h:23, | |
from ../gst-libs/gst/cheese/face/cheesefacesprite.h:48, | |
from ../gst-libs/gst/cheese/face/cheesefacesprite.c:44: | |
../gst-libs/gst/cheese/face/cheesefacesprite.c: In function ‘cheese_face_sprite_new_from_json_object’: | |
../gst-libs/gst/cheese/face/cheesefacespritekeypoint.h:67:36: warning: implicit declaration of function ‘cheese_face_keypoint_get_type’; did you mean ‘cheese_face_sprite_get_type’? [-Wimplicit-function-declaration] | |
#define CHEESE_TYPE_FACE_KEYPOINT (cheese_face_keypoint_get_type ()) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/glib-2.0/gobject/gtype.h:2279:51: note: in definition of macro ‘_G_TYPE_CCC’ | |
((ct*) g_type_check_class_cast ((GTypeClass*) cp, gt)) | |
^~ | |
/usr/include/glib-2.0/gobject/genums.h:44:37: note: in expansion of macro ‘G_TYPE_CHECK_CLASS_CAST’ | |
#define G_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_ENUM, GEnumClass)) | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
../gst-libs/gst/cheese/face/cheesefacesprite.c:138:7: note: in expansion of macro ‘G_ENUM_CLASS’ | |
G_ENUM_CLASS (g_type_class_ref (CHEESE_TYPE_FACE_KEYPOINT)); | |
^~~~~~~~~~~~ | |
../gst-libs/gst/cheese/face/cheesefacesprite.c:138:39: note: in expansion of macro ‘CHEESE_TYPE_FACE_KEYPOINT’ | |
G_ENUM_CLASS (g_type_class_ref (CHEESE_TYPE_FACE_KEYPOINT)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
../gst-libs/gst/cheese/face/cheesefacesprite.c: In function ‘cheese_face_sprite_new_from_parser’: | |
../gst-libs/gst/cheese/face/cheesefacesprite.c:238:9: warning: unused variable ‘i’ [-Wunused-variable] | |
guint i; | |
^ | |
[5/29] Compiling C object 'gst-libs/gst/cheese/ca76057@@gstcheese-1.0@sha/face_cheesemultifaceinfo.c.o'. | |
In file included from ../gst-libs/gst/cheese/face/cheesemultifaceinfo.h:51, | |
from ../gst-libs/gst/cheese/face/cheesemultifaceinfo.c:44: | |
../gst-libs/gst/cheese/face/cheesefaceinfo.h:64:13: warning: inline function ‘CHEESE_FACE_LANDMARK_N’ declared but never defined | |
inline gint CHEESE_FACE_LANDMARK_N (CheeseFaceLandmarkType type); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
[7/29] Compiling C object 'gst-libs/gst/cheese/ca76057@@gstcheese-1.0@sha/face_cheesemultifacemeta.c.o'. | |
In file included from ../gst-libs/gst/cheese/face/cheesemultifaceinfo.h:51, | |
from ../gst-libs/gst/cheese/face/cheesemultifacemeta.h:51, | |
from ../gst-libs/gst/cheese/face/cheesemultifacemeta.c:31: | |
../gst-libs/gst/cheese/face/cheesefaceinfo.h:64:13: warning: inline function ‘CHEESE_FACE_LANDMARK_N’ declared but never defined | |
inline gint CHEESE_FACE_LANDMARK_N (CheeseFaceLandmarkType type); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
[10/29] Generating Cheese-1.0.gir with a custom command. | |
../gst-libs/gst/cheese/face/cheesefacesprite.h:83: Warning: Cheese: cheese_face_sprite_new_from_json_object: argument face_object: Unresolved type: 'JsonObject*' | |
[13/29] Compiling C object 'gst/face/d8a2fcf@@gstcheesefaceeffects@sha/gstcheesefaceoverlay.c.o'. | |
../gst/face/gstcheesefaceoverlay.c:99:1: warning: useless storage class specifier in empty declaration | |
}; | |
^ | |
../gst/face/gstcheesefaceoverlay.c: In function ‘face_overlay_data_get_keypoint_pixinfo’: | |
../gst/face/gstcheesefaceoverlay.c:190:7: warning: implicit declaration of function ‘cheese_face_info_get_landmark_type’; did you mean ‘cheese_face_info_get_landmark_keypoints’? [-Wimplicit-function-declaration] | |
if (cheese_face_info_get_landmark_type (self->face_info) != | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
cheese_face_info_get_landmark_keypoints | |
../gst/face/gstcheesefaceoverlay.c: In function ‘gst_cheese_face_overlay_create_children’: | |
../gst/face/gstcheesefaceoverlay.c:354:1: warning: label ‘element_not_found’ defined but not used [-Wunused-label] | |
element_not_found: | |
^~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefaceoverlay.c: In function ‘gst_cheese_face_overlay_draw_overlay’: | |
../gst/face/gstcheesefaceoverlay.c:544:13: warning: unused variable ‘j’ [-Wunused-variable] | |
guint j; | |
^ | |
../gst/face/gstcheesefaceoverlay.c: In function ‘gst_cheese_face_overlay_class_init’: | |
../gst/face/gstcheesefaceoverlay.c:596:16: warning: variable ‘gstbin_class’ set but not used [-Wunused-but-set-variable] | |
GstBinClass *gstbin_class; | |
^~~~~~~~~~~~ | |
In file included from ../gst-libs/gst/cheese/face/cheesemultifaceinfo.h:51, | |
from ../gst-libs/gst/cheese/face/cheesemultifacemeta.h:51, | |
from ../gst/face/gstcheesefaceoverlay.c:69: | |
../gst/face/gstcheesefaceoverlay.c: At top level: | |
../gst-libs/gst/cheese/face/cheesefaceinfo.h:64:13: warning: inline function ‘CHEESE_FACE_LANDMARK_N’ declared but never defined | |
inline gint CHEESE_FACE_LANDMARK_N (CheeseFaceLandmarkType type); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefaceoverlay.c:78:13: warning: ‘gst_cheese_face_overlay_message_handler’ declared ‘static’ but never defined [-Wunused-function] | |
static void gst_cheese_face_overlay_message_handler (GstBin * bin, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefaceoverlay.c: In function ‘gst_cheese_face_overlay_draw_overlay’: | |
../gst/face/gstcheesefaceoverlay.c:499:21: warning: ‘*((void *)&img_position+4)’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
image_pos.y + img_height / 2); | |
~~~~~~~~~~~~^~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefaceoverlay.c:550:43: note: ‘*((void *)&img_position+4)’ was declared here | |
graphene_point_t keypoint_position, img_position; | |
^~~~~~~~~~~~ | |
../gst/face/gstcheesefaceoverlay.c:489:5: warning: ‘img_position’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
gdk_cairo_set_source_pixbuf (cr, pixbuf, image_pos.x, image_pos.y); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefaceoverlay.c:550:43: note: ‘img_position’ was declared here | |
graphene_point_t keypoint_position, img_position; | |
^~~~~~~~~~~~ | |
[15/29] Compiling C++ object 'gst/face/d8a2fcf@@gstcheesefaceeffects@sha/facetrack.cpp.o'. | |
In file included from ../gst/face/facetrack.cpp:43: | |
../gst-libs/gst/cheese/face/cheesefaceinfo.h:64:13: warning: inline function ‘gint CHEESE_FACE_LANDMARK_N(CheeseFaceLandmarkType)’ used but never defined | |
inline gint CHEESE_FACE_LANDMARK_N (CheeseFaceLandmarkType type); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
[20/29] Compiling C object 'tests/cheese/262c34b@@facesprite@exe/facesprite.c.o'. | |
In file included from /usr/lib/x86_64-linux-gnu/glib-2.0/include/glibconfig.h:9, | |
from /usr/include/glib-2.0/glib/gtypes.h:32, | |
from /usr/include/glib-2.0/glib/galloca.h:32, | |
from /usr/include/glib-2.0/glib.h:30, | |
from ../tests/cheese/facesprite.c:44: | |
../tests/cheese/facesprite.c: In function ‘test_insert_get_sprite_keypoint’: | |
../tests/cheese/facesprite.c:71:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
g_assert (out_keypoint_sprite = head_sprite); | |
^~~~~~~~~~~~~~~~~~~ | |
/usr/include/glib-2.0/glib/gmacros.h:446:8: note: in definition of macro ‘_G_BOOLEAN_EXPR’ | |
if (expr) \ | |
^~~~ | |
/usr/include/glib-2.0/glib/gtestutils.h:157:49: note: in expansion of macro ‘G_LIKELY’ | |
if G_LIKELY (expr) ; else \ | |
^~~~~~~~ | |
../tests/cheese/facesprite.c:71:3: note: in expansion of macro ‘g_assert’ | |
g_assert (out_keypoint_sprite = head_sprite); | |
^~~~~~~~ | |
../tests/cheese/facesprite.c:73:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
g_assert (out_keypoint_sprite = mouth_sprite); | |
^~~~~~~~~~~~~~~~~~~ | |
/usr/include/glib-2.0/glib/gmacros.h:446:8: note: in definition of macro ‘_G_BOOLEAN_EXPR’ | |
if (expr) \ | |
^~~~ | |
/usr/include/glib-2.0/glib/gtestutils.h:157:49: note: in expansion of macro ‘G_LIKELY’ | |
if G_LIKELY (expr) ; else \ | |
^~~~~~~~ | |
../tests/cheese/facesprite.c:73:3: note: in expansion of macro ‘g_assert’ | |
g_assert (out_keypoint_sprite = mouth_sprite); | |
^~~~~~~~ | |
../tests/cheese/facesprite.c:75:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] | |
g_assert (out_keypoint_sprite = eye_sprite); | |
^~~~~~~~~~~~~~~~~~~ | |
/usr/include/glib-2.0/glib/gmacros.h:446:8: note: in definition of macro ‘_G_BOOLEAN_EXPR’ | |
if (expr) \ | |
^~~~ | |
/usr/include/glib-2.0/glib/gtestutils.h:157:49: note: in expansion of macro ‘G_LIKELY’ | |
if G_LIKELY (expr) ; else \ | |
^~~~~~~~ | |
../tests/cheese/facesprite.c:75:3: note: in expansion of macro ‘g_assert’ | |
g_assert (out_keypoint_sprite = eye_sprite); | |
^~~~~~~~ | |
[23/29] Compiling C object 'tests/cheese/262c34b@@multifacesprite@exe/multifacesprite.c.o'. | |
In file included from /usr/include/glib-2.0/glib.h:85, | |
from ../tests/cheese/multifacesprite.c:44: | |
../tests/cheese/multifacesprite.c: In function ‘test_parse_from_invalid_string’: | |
../gst-libs/gst/cheese/face/cheesemultifacesprite.h:66:42: warning: implicit declaration of function ‘cheese_multiface_sprite_error_quark’; did you mean ‘cheese_multiface_sprite_get_type’? [-Wimplicit-function-declaration] | |
#define CHEESE_MULTIFACE_SPRITE_ERROR (cheese_multiface_sprite_error_quark ()) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/glib-2.0/glib/gtestutils.h:113:77: note: in definition of macro ‘g_assert_error’ | |
if (!err || (err)->domain != dom || (err)->code != c) \ | |
^~~ | |
../tests/cheese/multifacesprite.c:239:26: note: in expansion of macro ‘CHEESE_MULTIFACE_SPRITE_ERROR’ | |
g_assert_error (error, CHEESE_MULTIFACE_SPRITE_ERROR, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
At top level: | |
../tests/cheese/multifacesprite.c:54:21: warning: ‘INVALID_JSON_FRAME_WITH_VALID_LOCATION’ defined but not used [-Wunused-variable] | |
static const gchar *INVALID_JSON_FRAME_WITH_VALID_LOCATION = | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
[26/29] Compiling C++ object 'gst/face/d8a2fcf@@gstcheesefaceeffects@sha/gstcheesefaceomelette.cpp.o'. | |
../gst/face/gstcheesefaceomelette.cpp:89:1: warning: ‘typedef’ was ignored in this declaration | |
typedef struct _OmeletteData { | |
^~~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp: In function ‘void gst_cheese_face_omelette_set_property(GObject*, guint, const GValue*, GParamSpec*)’: | |
../gst/face/gstcheesefaceomelette.cpp:348:26: warning: unused variable ‘filter’ [-Wunused-variable] | |
GstCheeseFaceOmelette *filter = GST_CHEESEFACEOMELETTE (object); | |
^~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp: In function ‘void gst_cheese_face_omelette_get_property(GObject*, guint, GValue*, GParamSpec*)’: | |
../gst/face/gstcheesefaceomelette.cpp:360:26: warning: unused variable ‘filter’ [-Wunused-variable] | |
GstCheeseFaceOmelette *filter = GST_CHEESEFACEOMELETTE (object); | |
^~~~~~ | |
In file included from /app/include/gstreamer-1.0/gst/gst.h:55, | |
from ../gst/face/gstcheesefaceomelette.cpp:71: | |
../gst/face/gstcheesefaceomelette.cpp: In function ‘GstFlowReturn gst_cheese_face_omelette_transform_ip(GstOpencvVideoFilter*, GstBuffer*, cv::Mat)’: | |
../gst/face/gstcheesefaceomelette.cpp:503:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘guint64’ {aka ‘long unsigned int’} [-Wformat=] | |
GST_DEBUG ("Face %d: Animation frame counter is %d", id, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
omelette_data->animation_frame_counter); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/app/include/gstreamer-1.0/gst/gstinfo.h:640:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ | |
(GObject *) (object), __VA_ARGS__); \ | |
^~~~~~~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp:503:9: note: in expansion of macro ‘GST_DEBUG’ | |
GST_DEBUG ("Face %d: Animation frame counter is %d", id, | |
^~~~~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp:563:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘double’ [-Wformat=] | |
GST_DEBUG ("Face %d: time to prepare images: %.2f ms.", | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
((double) time_per_face * 1000) / cv::getTickFrequency ()); | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/app/include/gstreamer-1.0/gst/gstinfo.h:640:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ | |
(GObject *) (object), __VA_ARGS__); \ | |
^~~~~~~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp:563:7: note: in expansion of macro ‘GST_DEBUG’ | |
GST_DEBUG ("Face %d: time to prepare images: %.2f ms.", | |
^~~~~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp:563:18: warning: format ‘%f’ expects a matching ‘double’ argument [-Wformat=] | |
GST_DEBUG ("Face %d: time to prepare images: %.2f ms.", | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/app/include/gstreamer-1.0/gst/gstinfo.h:640:31: note: in definition of macro ‘GST_CAT_LEVEL_LOG’ | |
(GObject *) (object), __VA_ARGS__); \ | |
^~~~~~~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp:563:7: note: in expansion of macro ‘GST_DEBUG’ | |
GST_DEBUG ("Face %d: time to prepare images: %.2f ms.", | |
^~~~~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp:441:9: warning: unused variable ‘i’ [-Wunused-variable] | |
guint i, j; | |
^ | |
../gst/face/gstcheesefaceomelette.cpp:441:12: warning: unused variable ‘j’ [-Wunused-variable] | |
guint i, j; | |
^ | |
../gst/face/gstcheesefaceomelette.cpp: In function ‘void gst_cheese_face_omelette_finalize(GObject*)’: | |
../gst/face/gstcheesefaceomelette.cpp:616:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] | |
if (filter->omelette_oregano); | |
^~ | |
../gst/face/gstcheesefaceomelette.cpp:617:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ | |
delete filter->omelette_oregano; | |
^~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp: At global scope: | |
../gst/face/gstcheesefaceomelette.cpp:161:23: warning: ‘OmeletteData* omelette_data_new(GstCheeseFaceOmelette*)’ declared ‘static’ but never defined [-Wunused-function] | |
static OmeletteData * omelette_data_new (GstCheeseFaceOmelette * filter); | |
^~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp:109:14: warning: ‘FACE_LIPS_EXTERNAL_BORDER’ defined but not used [-Wunused-variable] | |
static guint FACE_LIPS_EXTERNAL_BORDER[] = {61, 62, 63, 64, 65, 66, 67, 68}; | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefaceomelette.cpp: In function ‘GstFlowReturn gst_cheese_face_omelette_transform_ip(GstOpencvVideoFilter*, GstBuffer*, cv::Mat)’: | |
../gst/face/gstcheesefaceomelette.cpp:507:57: warning: ‘time_start’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
time_animation_counter += cv::getTickCount () - time_start; | |
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | |
[28/29] Compiling C++ object 'gst/face/d8a2fcf@@gstcheesefaceeffects@sha/gstcheesefacedetect.cpp.o'. | |
In file included from /usr/include/graphene-1.0/graphene.h:46, | |
from ../gst-libs/gst/cheese/face/cheesemultifacemeta.h:50, | |
from ../gst/face/gstcheesefacedetect.cpp:67: | |
../gst/face/gstcheesefacedetect.cpp: In function ‘GstFlowReturn gst_cheese_face_detect_transform_ip(GstOpencvVideoFilter*, GstBuffer*, cv::Mat)’: | |
../gst/face/gstcheesefacedetect.cpp:713:74: warning: narrowing conversion of ‘face.CheeseFace::bounding_box.dlib::rectangle::left()’ from ‘long int’ to ‘float’ inside { } [-Wnarrowing] | |
graphene_bounding_box = GRAPHENE_RECT_INIT (face.bounding_box.left (), | |
/usr/include/graphene-1.0/graphene-rect.h:50:41: note: in definition of macro ‘GRAPHENE_RECT_INIT’ | |
(graphene_rect_t) { .origin = { .x = (_x), .y = (_y) }, .size = { .width = (_w), .height = (_h) } } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:714:33: warning: narrowing conversion of ‘face.CheeseFace::bounding_box.dlib::rectangle::top()’ from ‘long int’ to ‘float’ inside { } [-Wnarrowing] | |
face.bounding_box.top (), face.bounding_box.width (), | |
/usr/include/graphene-1.0/graphene-rect.h:50:52: note: in definition of macro ‘GRAPHENE_RECT_INIT’ | |
(graphene_rect_t) { .origin = { .x = (_x), .y = (_y) }, .size = { .width = (_w), .height = (_h) } } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:714:61: warning: narrowing conversion of ‘face.CheeseFace::bounding_box.dlib::rectangle::width()’ from ‘long unsigned int’ to ‘float’ inside { } [-Wnarrowing] | |
face.bounding_box.top (), face.bounding_box.width (), | |
/usr/include/graphene-1.0/graphene-rect.h:50:79: note: in definition of macro ‘GRAPHENE_RECT_INIT’ | |
(graphene_rect_t) { .origin = { .x = (_x), .y = (_y) }, .size = { .width = (_w), .height = (_h) } } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:715:36: warning: narrowing conversion of ‘face.CheeseFace::bounding_box.dlib::rectangle::height()’ from ‘long unsigned int’ to ‘float’ inside { } [-Wnarrowing] | |
face.bounding_box.height ()); | |
/usr/include/graphene-1.0/graphene-rect.h:50:95: note: in definition of macro ‘GRAPHENE_RECT_INIT’ | |
(graphene_rect_t) { .origin = { .x = (_x), .y = (_y) }, .size = { .width = (_w), .height = (_h) } } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:824:20: warning: unused variable ‘dir_x’ [-Wunused-variable] | |
double dir_x, dir_y, dir_z, len; | |
^~~~~ | |
../gst/face/gstcheesefacedetect.cpp:824:27: warning: unused variable ‘dir_y’ [-Wunused-variable] | |
double dir_x, dir_y, dir_z, len; | |
^~~~~ | |
../gst/face/gstcheesefacedetect.cpp:824:34: warning: unused variable ‘dir_z’ [-Wunused-variable] | |
double dir_x, dir_y, dir_z, len; | |
^~~~~ | |
../gst/face/gstcheesefacedetect.cpp:824:41: warning: unused variable ‘len’ [-Wunused-variable] | |
double dir_x, dir_y, dir_z, len; | |
^~~ | |
In file included from /usr/include/graphene-1.0/graphene.h:46, | |
from ../gst-libs/gst/cheese/face/cheesemultifacemeta.h:50, | |
from ../gst/face/gstcheesefacedetect.cpp:67: | |
../gst/face/gstcheesefacedetect.cpp:912:54: warning: narrowing conversion of ‘face.CheeseFace::bounding_box.dlib::rectangle::left()’ from ‘long int’ to ‘float’ inside { } [-Wnarrowing] | |
GRAPHENE_RECT_INIT (face.bounding_box.left (), | |
/usr/include/graphene-1.0/graphene-rect.h:50:41: note: in definition of macro ‘GRAPHENE_RECT_INIT’ | |
(graphene_rect_t) { .origin = { .x = (_x), .y = (_y) }, .size = { .width = (_w), .height = (_h) } } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:913:37: warning: narrowing conversion of ‘face.CheeseFace::bounding_box.dlib::rectangle::top()’ from ‘long int’ to ‘float’ inside { } [-Wnarrowing] | |
face.bounding_box.top (), face.bounding_box.width (), | |
/usr/include/graphene-1.0/graphene-rect.h:50:52: note: in definition of macro ‘GRAPHENE_RECT_INIT’ | |
(graphene_rect_t) { .origin = { .x = (_x), .y = (_y) }, .size = { .width = (_w), .height = (_h) } } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:913:65: warning: narrowing conversion of ‘face.CheeseFace::bounding_box.dlib::rectangle::width()’ from ‘long unsigned int’ to ‘float’ inside { } [-Wnarrowing] | |
face.bounding_box.top (), face.bounding_box.width (), | |
/usr/include/graphene-1.0/graphene-rect.h:50:79: note: in definition of macro ‘GRAPHENE_RECT_INIT’ | |
(graphene_rect_t) { .origin = { .x = (_x), .y = (_y) }, .size = { .width = (_w), .height = (_h) } } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:914:40: warning: narrowing conversion of ‘face.CheeseFace::bounding_box.dlib::rectangle::height()’ from ‘long unsigned int’ to ‘float’ inside { } [-Wnarrowing] | |
face.bounding_box.height ())); | |
/usr/include/graphene-1.0/graphene-rect.h:50:95: note: in definition of macro ‘GRAPHENE_RECT_INIT’ | |
(graphene_rect_t) { .origin = { .x = (_x), .y = (_y) }, .size = { .width = (_w), .height = (_h) } } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:918:33: warning: comparison of integer expressions of different signedness: ‘std::vector<cv::Point_<int> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] | |
if (face.landmark.size () == n_keypoints) { | |
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ | |
In file included from /usr/include/graphene-1.0/graphene.h:44, | |
from ../gst-libs/gst/cheese/face/cheesemultifacemeta.h:50, | |
from ../gst/face/gstcheesefacedetect.cpp:67: | |
../gst/face/gstcheesefacedetect.cpp:923:54: warning: narrowing conversion of ‘face.CheeseFace::landmark.std::vector<cv::Point_<int> >::operator[](((std::vector<cv::Point_<int> >::size_type)it)).cv::Point_<int>::x’ from ‘int’ to ‘float’ inside { } [-Wnarrowing] | |
GRAPHENE_POINT_INIT (face.landmark[it].x, face.landmark[it].y); | |
/usr/include/graphene-1.0/graphene-point.h:49:68: note: in definition of macro ‘GRAPHENE_POINT_INIT’ | |
#define GRAPHENE_POINT_INIT(_x,_y) (graphene_point_t) { .x = (_x), .y = (_y) } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:923:75: warning: narrowing conversion of ‘face.CheeseFace::landmark.std::vector<cv::Point_<int> >::operator[](((std::vector<cv::Point_<int> >::size_type)it)).cv::Point_<int>::y’ from ‘int’ to ‘float’ inside { } [-Wnarrowing] | |
GRAPHENE_POINT_INIT (face.landmark[it].x, face.landmark[it].y); | |
/usr/include/graphene-1.0/graphene-point.h:49:79: note: in definition of macro ‘GRAPHENE_POINT_INIT’ | |
#define GRAPHENE_POINT_INIT(_x,_y) (graphene_point_t) { .x = (_x), .y = (_y) } | |
^~ | |
../gst/face/gstcheesefacedetect.cpp:453:47: warning: unused variable ‘time_others’ [-Wunused-variable] | |
gint64 time_pose_estimation, time_landmark, time_others, time_total; | |
^~~~~~~~~~~ | |
In file included from ../gst-libs/gst/cheese/face/cheesemultifaceinfo.h:51, | |
from ../gst-libs/gst/cheese/face/cheesemultifacemeta.h:51, | |
from ../gst/face/gstcheesefacedetect.cpp:67: | |
../gst-libs/gst/cheese/face/cheesefaceinfo.h: At global scope: | |
../gst-libs/gst/cheese/face/cheesefaceinfo.h:64:13: warning: inline function ‘gint CHEESE_FACE_LANDMARK_N(CheeseFaceLandmarkType)’ used but never defined | |
inline gint CHEESE_FACE_LANDMARK_N (CheeseFaceLandmarkType type); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefacedetect.cpp:377:1: warning: ‘cv::Point calculate_centroid(cv::Point&, cv::Point&)’ defined but not used [-Wunused-function] | |
calculate_centroid(cv::Point & p1, cv::Point & p2) | |
^~~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefacedetect.cpp: In function ‘GstFlowReturn gst_cheese_face_detect_transform_ip(GstOpencvVideoFilter*, GstBuffer*, cv::Mat)’: | |
../gst/face/gstcheesefacedetect.cpp:895:26: warning: ‘facedata_st’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
g_value_take_boxed (&facedata_value, facedata_st); | |
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefacedetect.cpp:946:16: warning: ‘time_total’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
time_total = cv::getTickCount () - time_total; | |
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../gst/face/gstcheesefacedetect.cpp:476:24: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
time_post += end - start; | |
~~~~^~~~~~~ | |
[29/29] Linking target gst/face/libgstcheesefaceeffects.so. | |
sh-4.4$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment