Ticket #62132: 0001-global-fix-compile-error-at-pragma-GCC-diagnostic-MP.patch

File 0001-global-fix-compile-error-at-pragma-GCC-diagnostic-MP.patch, 1.0 KB (added by ballapete (Peter "Pete" Dyballa), 4 years ago)

Patch to move the #pragma statements into their proper places

  • src/global.c

    old new  
    454454
    455455
    456456
    457457
     458#if _GCRY_GCC_VERSION >= 40200
     459# pragma GCC diagnostic push
     460# pragma GCC diagnostic ignored "-Wswitch"
     461#endif
     462
    458463/* Command dispatcher function, acting as general control
    459464   function.  */