Patch Detail
Show a patch.
GET /api/1.1/patches/41/?format=api
{ "id": 41, "url": "https://patchwork.libcamera.org/api/1.1/patches/41/?format=api", "web_url": "https://patchwork.libcamera.org/patch/41/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<1544625145-8021-1-git-send-email-jacopo@jmondi.org>", "date": "2018-12-12T14:32:25", "name": "[libcamera-devel,v2] build: Add 'std=c++11' cpp compiler flag", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "911508a883b4cde190553c145ebae22f32879646", "submitter": { "id": 3, "url": "https://patchwork.libcamera.org/api/1.1/people/3/?format=api", "name": "Jacopo Mondi", "email": "jacopo@jmondi.org" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/41/mbox/", "series": [ { "id": 19, "url": "https://patchwork.libcamera.org/api/1.1/series/19/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=19", "date": "2018-12-12T14:32:25", "name": "[libcamera-devel,v2] build: Add 'std=c++11' cpp compiler flag", "version": 2, "mbox": "https://patchwork.libcamera.org/series/19/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/41/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/41/checks/", "tags": {}, "headers": { "Return-Path": "<jacopo@jmondi.org>", "Received": [ "from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net\n\t[217.70.183.193])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 81E4D60A71\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 12 Dec 2018 15:32:31 +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 relay1-d.mail.gandi.net (Postfix) with ESMTPSA id E6B3A24001A;\n\tWed, 12 Dec 2018 14:32:30 +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 15:32:25 +0100", "Message-Id": "<1544625145-8021-1-git-send-email-jacopo@jmondi.org>", "X-Mailer": "git-send-email 2.7.4", "Subject": "[libcamera-devel] [PATCH v2] build: Add 'std=c++11' cpp compiler\n\tflag", "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 14:32:31 -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 for to the list of\ncpp build flags.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\nv2 -> v1:\n- As suggested by Kieran, add 'std=c++11' argument to the global\n cpp_arguments variable\n\n---\n meson.build | 1 +\n 1 file changed, 1 insertion(+)\n\n--\n2.7.4", "diff": "diff --git a/meson.build b/meson.build\nindex 2fdb166..7b6e2fe 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -17,6 +17,7 @@ common_arguments = [\n\n c_arguments = common_arguments\n cpp_arguments = common_arguments\n+cpp_arguments += '-std=c++11'\n\n add_project_arguments(c_arguments, language: 'c')\n add_project_arguments(cpp_arguments, language: 'cpp')\n", "prefixes": [ "libcamera-devel", "v2" ] }