{"action":"opened","issue":{"url":"https://api.github.com/repos/android-x86-mirror/platform_hardware_libcamera/issues/1","repository_url":"https://api.github.com/repos/android-x86-mirror/platform_hardware_libcamera","labels_url":"https://api.github.com/repos/android-x86-mirror/platform_hardware_libcamera/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/android-x86-mirror/platform_hardware_libcamera/issues/1/comments","events_url":"https://api.github.com/repos/android-x86-mirror/platform_hardware_libcamera/issues/1/events","html_url":"https://github.com/android-x86-mirror/platform_hardware_libcamera/issues/1","id":176465375,"number":1,"title":"private declarations clash with public - nougat","user":{"login":"mikey0000","id":1455933,"avatar_url":"https://avatars.githubusercontent.com/u/1455933?v=3","gravatar_id":"","url":"https://api.github.com/users/mikey0000","html_url":"https://github.com/mikey0000","followers_url":"https://api.github.com/users/mikey0000/followers","following_url":"https://api.github.com/users/mikey0000/following{/other_user}","gists_url":"https://api.github.com/users/mikey0000/gists{/gist_id}","starred_url":"https://api.github.com/users/mikey0000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikey0000/subscriptions","organizations_url":"https://api.github.com/users/mikey0000/orgs","repos_url":"https://api.github.com/users/mikey0000/repos","events_url":"https://api.github.com/users/mikey0000/events{/privacy}","received_events_url":"https://api.github.com/users/mikey0000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-12T19:41:09Z","updated_at":"2016-09-12T19:41:09Z","closed_at":null,"body":"Heres the errors I'm getting, if anyone can point me in the right direction I am happy to attempt a PR\r\n\r\n```C\r\nhardware/libcamera/CameraHardware.cpp:2059:5: error: cannot initialize a member subobject of type 'int (*)(struct camera_device *)' with an lvalue of type 'int (struct camera_device *, int)': different number of parameters (1 vs 2)\r\n    CameraHardware::store_meta_data_in_buffers,\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nhardware/libcamera/CameraHardware.cpp:2061:5: error: cannot initialize a member subobject of type 'int (*)(struct camera_device *, int)' with an lvalue of type 'void (struct camera_device *)': different number of parameters (2 vs 1)\r\n    CameraHardware::stop_recording,\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nhardware/libcamera/CameraHardware.cpp:2063:5: error: cannot initialize a member subobject of type 'void (*)(struct camera_device *)' with an lvalue of type 'void (struct camera_device *, const void *)': different number of parameters (1 vs 2)\r\n    CameraHardware::release_recording_frame,\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nhardware/libcamera/CameraHardware.cpp:2065:5: error: cannot initialize a member subobject of type 'void (*)(struct camera_device *, const void *)' with an lvalue of type 'int (struct camera_device *)': different number of parameters (2 vs 1)\r\n    CameraHardware::cancel_auto_focus,\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nhardware/libcamera/CameraHardware.cpp:2068:5: error: cannot initialize a member subobject of type 'int (*)(struct camera_device *)' with an lvalue of type 'int (struct camera_device *, const char *)': different number of parameters (1 vs 2)\r\n    CameraHardware::set_parameters,\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nhardware/libcamera/CameraHardware.cpp:2069:5: error: cannot initialize a member subobject of type 'int (*)(struct camera_device *)' with an lvalue of type 'char *(struct camera_device *)': different return type ('int' vs 'char *')\r\n    CameraHardware::get_parameters,\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nhardware/libcamera/CameraHardware.cpp:2070:5: error: cannot initialize a member subobject of type 'int (*)(struct camera_device *, const char *)' with an lvalue of type 'void (struct camera_device *, char *)': type mismatch at 2nd parameter ('const char *' vs 'char *')\r\n    CameraHardware::put_parameters,\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nhardware/libcamera/CameraHardware.cpp:2071:5: error: cannot initialize a member subobject of type 'char *(*)(struct camera_device *)' with an lvalue of type 'int (struct camera_device *, int32_t, int32_t, int32_t)' (aka 'int (camera_device *, int, int, int)'): different number of parameters (1 vs 4)\r\n    CameraHardware::send_command,\r\n    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nhardware/libcamera/CameraHardware.cpp:2072:5: error: cannot initialize a member subobject of type 'void (*)(struct camera_device *, char *)' with an lvalue of type 'void (struct camera_device *)': different number of parameters (2 vs 1)\r\n    CameraHardware::release,\r\n    ^~~~~~~~~~~~~~~~~~~~~~~\r\nhardware/libcamera/CameraHardware.cpp:2073:5: error: cannot initialize a member subobject of type 'int (*)(struct camera_device *, int32_t, int32_t, int32_t)' (aka 'int (*)(camera_device *, int, int, int)') with an lvalue of type 'int (struct camera_device *, int)': different number of parameters (4 vs 2)\r\n    CameraHardware::dump\r\n```"}}
{"actor":{"display_login":"mikey0000"}}