From 607d9cc53c36b7575348f70c98717864969baeee Mon Sep 17 00:00:00 2001 From: Ross Kinder Date: Sat, 3 Sep 2016 10:42:39 -0400 Subject: [PATCH] add cgo flag to (finally!) silence build time warnings --- decrypt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/decrypt.go b/decrypt.go index 76d5afd..04b1aa5 100644 --- a/decrypt.go +++ b/decrypt.go @@ -5,6 +5,7 @@ import ( "unsafe" ) +// #cgo CFLAGS: -Wno-invalid-pp-token -Wno-header-guard // #cgo pkg-config: xmlsec1 // #include // #include