Gustavo Niemeyer
2014-04-03 14:48:58 UTC
Hello all,
Some projects use version numbers in include paths. At the moment,
this forces Go packages to use unfortunate settings such as:
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.0.1/QtCore
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.0.2/QtCore
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.1.1/QtCore
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.2.0/QtCore
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.2.1/QtCore
Can we add support for something like:
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.*/QtCore
This would duplicate the given parameter for every match of the glob,
assuming an absolute path is found as a suffix.
How does that sound?
gustavo @ http://niemeyer.net
Some projects use version numbers in include paths. At the moment,
this forces Go packages to use unfortunate settings such as:
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.0.1/QtCore
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.0.2/QtCore
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.1.1/QtCore
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.2.0/QtCore
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.2.1/QtCore
Can we add support for something like:
// #cgo CPPFLAGS: -I/usr/include/qt5/QtCore/5.*/QtCore
This would duplicate the given parameter for every match of the glob,
assuming an absolute path is found as a suffix.
How does that sound?
gustavo @ http://niemeyer.net
--
---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
---
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/d/optout.