Guard some pragmas which aren't understood by MSVC
This commit is contained in:
parent
1b13bf607f
commit
44068a63f5
@ -23,10 +23,14 @@
|
|||||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef COMPILER_MSVC
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
|
||||||
#include <glibmm.h>
|
#include <glibmm.h>
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
|
#else
|
||||||
|
#include <glibmm.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Gtk
|
namespace Gtk
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user