Patch Detail
Show a patch.
GET /api/patches/40/?format=api
{ "id": 40, "url": "https://patchwork.libcamera.org/api/patches/40/?format=api", "web_url": "https://patchwork.libcamera.org/patch/40/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<1544621463-4512-1-git-send-email-jacopo@jmondi.org>", "date": "2018-12-12T13:31:03", "name": "[libcamera-devel] build: Add 'std=c++11' compiler flag to libcamera", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": false, "hash": "3f6031753f7cd7ed7484c1c8b65269684c0208ee", "submitter": { "id": 3, "url": "https://patchwork.libcamera.org/api/people/3/?format=api", "name": "Jacopo Mondi", "email": "jacopo@jmondi.org" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/40/mbox/", "series": [ { "id": 18, "url": "https://patchwork.libcamera.org/api/series/18/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=18", "date": "2018-12-12T13:31:03", "name": "[libcamera-devel] build: Add 'std=c++11' compiler flag to libcamera", "version": 1, "mbox": "https://patchwork.libcamera.org/series/18/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/40/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/40/checks/", "tags": {}, "headers": { "Return-Path": "<jacopo@jmondi.org>", "Received": [ "from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net\n\t[217.70.183.201])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E4B6560A71\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 12 Dec 2018 14:31:09 +0100 (CET)", "from w540.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 75C801BF208;\n\tWed, 12 Dec 2018 13:31:09 +0000 (UTC)" ], "X-Originating-IP": "2.224.242.101", "From": "Jacopo Mondi <jacopo@jmondi.org>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Wed, 12 Dec 2018 14:31:03 +0100", "Message-Id": "<1544621463-4512-1-git-send-email-jacopo@jmondi.org>", "X-Mailer": "git-send-email 2.7.4", "Subject": "[libcamera-devel] [PATCH] build: Add 'std=c++11' compiler flag to\n\tlibcamera", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.23", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "X-List-Received-Date": "Wed, 12 Dec 2018 13:31:10 -0000" }, "content": "Building the current master branch fails with:\n./src/libcamera/include/log.h:25:34:\n error: defaulted and deleted functions only available with -std=c++11 \\\n or -std=gnu++11 [-Werror]\n LogMessage(const LogMessage&) = delete;\n\nFix this by adding the 'std=c++11' compiler argument to the src/libcamera\nbuild file.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/meson.build | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)\n\n--\n2.7.4", "diff": "diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build\nindex 0c44b5a..4457cde 100644\n--- a/src/libcamera/meson.build\n+++ b/src/libcamera/meson.build\n@@ -16,4 +16,5 @@ includes = [\n libcamera = shared_library('camera',\n libcamera_sources,\n install : true,\n- include_directories : includes)\n+ include_directories : includes,\n+ cpp_args : '-std=c++11')\n", "prefixes": [ "libcamera-devel" ] }