Workaround cgo declarations after statements in Go Travis tests

These should be fixed when go-1.7 is released
This commit is contained in:
William S Fulton 2016-05-02 19:47:48 +01:00
commit e28b7f1fcf

View file

@ -7,7 +7,7 @@ def get_cflags(language, std, compiler):
cflags = {
"csharp":"-Werror " + c_common,
"d":"-Werror " + c_common,
"go":"-Werror " + c_common,
"go":"-Werror " + c_common + " -Wno-declaration-after-statement",
"guile":"-Werror " + c_common,
"java":"-Werror " + c_common,
"javascript":"-Werror " + c_common,