From a40b92638ff7d74188b2ec0785abf760eb849ed2 Mon Sep 17 00:00:00 2001 From: Sean McBride <sean@rogue-research.com> Date: Mon, 18 Nov 2013 17:52:33 -0500 Subject: [PATCH] SystemInformation: Work around gcc -Wliteral-suffix warning A single quote in an inline assembly comment is confusing gcc: .../SystemInformation.cxx:256:24: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix] ; optimiser doesn't know about <<CPUID>>, and so doesn't expect ^ Avoid it by changing "doesn't" to "does not". Change-Id: Ic4caaeaabfdb99aa486ec09b23d670ec1b125069 --- SystemInformation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SystemInformation.cxx b/SystemInformation.cxx index e652c27..2f6c949 100644 --- a/SystemInformation.cxx +++ b/SystemInformation.cxx @@ -253,7 +253,7 @@ static bool call_cpuid(int select, int result[4]) _asm { #ifdef CPUID_AWARE_COMPILER ; we must push/pop the registers <<CPUID>> writes to, as the - ; optimiser doesn't know about <<CPUID>>, and so doesn't expect + ; optimiser does not know about <<CPUID>>, and so does not expect ; these registers to change. push eax push ebx -- GitLab