Compiling with Embarcadero Builder C++

325 views
Skip to first unread message

Fabien Mathieu

unread,
Sep 16, 2013, 3:56:56 AM9/16/13
to googletes...@googlegroups.com
Hello,

My choice for google test was leading by the fact it was compatible with Builder C++. However, when I tried to compil it, with the supplied project and the compiler of Embarcadero C++ Builder XE, I faced a lot of compilation errors. That was mainly an operator<< undefined for std::string and other gtest classes. The incriminated line was in gtest-message.h line 131. Moreover, the used compiler doesn't support entire C++11, so I got an other error in gtest.cc on line 1784, that I easily correct (a move constructor I guess).

Did anyone experiment the same problems? For information, I successfully compil google test with mingw and CMakeList.

Best Regards

Fabien MATHIEU

Josh Kelley

unread,
Sep 16, 2013, 11:09:36 AM9/16/13
to Fabien Mathieu, Google C++ Testing Framework
Which version of Google Test are you running?  I assume you're targeting 32-bit Windows?

I've been using Google Test 1.6.0 in C++Builder 2010, XE2, and XE4 without any problems, but I haven't taken a look at any of the 1.7.0 development.  As I'm sure you've discovered, C++Builder is just not a very good compiler, so I'm not surprised that some of the new code in 1.7.0 breaks things.  (I wrote the initial C++Builder patches for Google Test and am, I suppose, the unofficial maintainer of C++Builder support.)

--
Josh Kelley


--
 
---
You received this message because you are subscribed to the Google Groups "Google C++ Testing Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googletestframe...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages