From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bznKl-0007oi-Cf for qemu-devel@nongnu.org; Thu, 27 Oct 2016 12:15:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bznKk-0002yI-Hg for qemu-devel@nongnu.org; Thu, 27 Oct 2016 12:15:15 -0400 Received: from mail-vk0-x233.google.com ([2607:f8b0:400c:c05::233]:33151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bznKk-0002xx-4j for qemu-devel@nongnu.org; Thu, 27 Oct 2016 12:15:14 -0400 Received: by mail-vk0-x233.google.com with SMTP id d65so4352367vkg.0 for ; Thu, 27 Oct 2016 09:15:14 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20161027155858.GA2508@var.bordeaux.inria.fr> References: <1477568774-4817-1-git-send-email-kraxel@redhat.com> <1477583747.9075.30.camel@redhat.com> <20161027155858.GA2508@var.bordeaux.inria.fr> From: Peter Maydell Date: Thu, 27 Oct 2016 17:14:52 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH] curses: build with -std=gnu99 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault Cc: Gerd Hoffmann , QEMU Developers On 27 October 2016 at 16:58, Samuel Thibault wrote: > Gerd Hoffmann, on Thu 27 Oct 2016 17:55:47 +0200, wrote: >> /home/kraxel/projects/qemu/ui/curses.c:627:18: error: universal >> character names are only valid in C++ and C99 [-Werror] >> case L'\u23bd': > > Another way could be to assume unicode encoding of wchar_t characters > (which looks very reasonable to me) and just write "case 0x23bd:". Does this still work if you're using curses on mingw32? thanks -- PMM