qt/cflags: set minimum C std version for Clang cgo compatibility

This commit is contained in:
mappu 2024-09-19 18:30:42 +12:00
parent ae45c8bbbd
commit 9c673492c8

View File

@ -2,6 +2,7 @@ package qt
/*
#cgo CXXFLAGS: -std=c++11
#cgo CFLAGS: -std=gnu11
#cgo pkg-config: Qt5Widgets
*/
import "C"