From f912666beba43f998445a9b6c95f4c444dd9c678 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 22 May 2014 19:23:34 +0200 Subject: add temporary ignoral of aggregate return from xcb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/fake-w32-gdi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/fake-w32-gdi.c b/src/fake-w32-gdi.c index bfd667a..048b64d 100644 --- a/src/fake-w32-gdi.c +++ b/src/fake-w32-gdi.c @@ -156,6 +156,9 @@ int GetDeviceCaps(HDC hDC, int nIndex) } +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Waggregate-return" + /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd372194(v=vs.85).aspx */ BOOL SetDeviceGammaRamp(HDC hDC, LPVOID lpRamp) { @@ -244,6 +247,8 @@ HDC CreateDC(LPCTSTR lpszDriver, LPCTSTR lpszDevice, void *lpszOutput, void *lpI return crtcs + crtc_index; } +# pragma GCC diagnostic pop + /* http://msdn.microsoft.com/en-us/library/windows/desktop/dd162609(v=vs.85).aspx */ BOOL EnumDisplayDevices(LPCTSTR lpDevice, DWORD iDevNum, PDISPLAY_DEVICE lpDisplayDevice, DWORD dwFlags) -- cgit v1.2.3-70-g09d2