Re: [PATCH kvm-unit-tests] x86: fix build (macro R interpreted as raw string)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 13, 2015 at 05:48:04PM +0100, Radim Krčmář wrote:
> GCC 5.0.0 enables raw strings by default and they have higher priority
> than macros, thus R"[...]" is interpreted incorrectly:
> 
>   lib/x86/isr.c:112:30: error: invalid character ')' in raw string delimiter
>   lib/x86/isr.c:112:8: error: stray ‘R’ in program
>   lib/x86/isr.c:112:26: error: expected ‘:’ or ‘)’ before string constant
>           "orl $0x200, (%%"R"sp)\n\t"
> 
> Fix it by putting a space between macro R and a string literal.
> (We already do that somewhere.)
> 
> Signed-off-by: Radim Krčmář <rkrcmar@xxxxxxxxxx>

Applied, thanks.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux