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 <mli...@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  <mli...@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

Reply via email to