Would you mind signing a Contributor License Agreement s.t. we can use
this patch?
The instructions are at
http://code.google.com/p/googletest/wiki/GoogleTestDevGuide#Contributor_License_Agreements
- thanks!
--
Zhanyong
> Actually, we had a number of similar OS support patches recently. Each one consists of little more than sniffing the OS and then enabling or disabling certain gtest features based on it. IMO, instead of providing cases for all those OSes we need a more general feature-based approach.
>
> In particular for Minix/Haiku we need to create the explicit feature for POSIX regex support (GTEST_HAS_POSIX_RE), make it user-overridable, and publish it.
>
> With this change users will be able to build gtest on OSes such as Haiku and Minix by setting CPPFLAGS="-DGTEST_HAS_POSIX_RE=1 -DGTEST_HAS_STD_WSTRING=0" in their environment or command line. In the future, even that can be automated with appropriate changes to the CMake/Autoconf build scripts.
I would vastly prefer that solution, if only because that way I wouldn't have to sign a license agreement just to add three lines of code to your repository. :-)
A better reason is that things change: Minix may well get good enough support for wstring in the near future, and that POSIX_RE thing may also be easily solvable.
--
Dr. Ir. Kees van Reeuwijk, Vrije Universiteit Amsterdam
--
Dr. Ir. Kees van Reeuwijk, Vrije Universiteit Amsterdam