I just checked with the latest trunk version of gmock_doctor - also
not working.
gcc --version: gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
I'm not sure what you mean by "diagnostic". If you're talking about
the compiler's diagnostic regarding my mocking code, see below.
Thanks for you help!
In file included from /usr/include/gmock/gmock.h:
58:0,
from foo.cpp:4:
/usr/include/gmock/gmock-actions.h: In member function
‘testing::internal::ReturnAction<R>::operator testing::Action<Func>()
const [with F = const std::complex<double>&(unsigned int), R =
std::complex<double>]’:
foo.cpp:116:28: instantiated from here
/usr/include/gmock/gmock-actions.h:449:5: error: creating array with
negative size (‘-0x00000000000000001’)