On 7/13/2015 7:43 AM, Rene Rivera wrote:
On Mon, Jul 13, 2015 at 4:35 AM, Dmitry Moskalchuk
wrote: On 13/07/15 06:00, Edward Diener wrote:
In all other environments predef-check is working. Maybe this failure of predef-check somehow occurs because the Android tests are a cross-compile, being done on a Unix system but targeting the Android. But for whatever reason the inability of getting predef-check to work keeps my VMD tests from adding the '-std=c++0x' option and the VMD tests all fail without that option since the variadic macro support in VMD for gcc needs C++11 support or better.
Edward,
As Rene said earlier, this is bug related to cross-compiling nature of Android targets.
As a temporary workaround for this, I can modify our testing scripts to enforce passing "-std=c++0x" when building VMD tests. This is not good solution and clearly should not stay there for long time, but I can do it if for some reason you can't wait when it will be fixed in proper way. Just let me know.
Edward could also just add <target-os>android:<cxxflags>-std=c++0x to the tests (or something equivalent).
That worked ! It's a temporary fix until you get back and see if predef can be fixed for the cross-compile problem.