This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Make LTO Patch for Job Server Thread Detection Agnostic
- From: Martin Liška <mliska at suse dot cz>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>, Nicholas Krause <xerofoify at gmail dot com>
- Cc: gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: Mon, 2 Mar 2020 11:04:29 +0100
- Subject: Re: Make LTO Patch for Job Server Thread Detection Agnostic
- References: <86e7d8d3-9b7c-56d1-74aa-727f015abb14@gmail.com> <CAH6eHdRws_0zWZ6c4bxyLsY9q7p5J=2qRuK-+gXbrg8CwnfV4Q@mail.gmail.com>
On 2/27/20 9:44 AM, Jonathan Wakely wrote:
Martin, the comment in your patch says "-std=c11" which should be c++11.
Sure, thanks for pointing to it.
I'm going to install the obvious patch for it.
Martin
>From 3c633731ade4cdad56f5729eaedb76cb2f727c39 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Mon, 2 Mar 2020 11:03:11 +0100
Subject: [PATCH] Fix typo in C++ standard version.
gcc/ChangeLog:
2020-03-02 Martin Liska <mliska@suse.cz>
* lto-wrapper.c: Fix typo in comment about
C++ standard version.
---
gcc/lto-wrapper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/lto-wrapper.c b/gcc/lto-wrapper.c
index 6e3f294257e..b8a35c85714 100644
--- a/gcc/lto-wrapper.c
+++ b/gcc/lto-wrapper.c
@@ -1234,7 +1234,7 @@ init_num_threads (void)
#endif
}
-/* FIXME: once using -std=c11, we can use std::thread::hardware_concurrency. */
+/* FIXME: once using -std=c++11, we can use std::thread::hardware_concurrency. */
/* Return true when a jobserver is running and can accept a job. */
--
2.25.1