On 04.07.2017 17:33, Paul Reeves wrote:
Building udrcpp_example fails under windows, and has done since at least the final release of Firebird 3.0. Unfortunately the build process doesn't detect the error.
That's a pity. Very interesting feature but people fail to use a sample.
I shall commit a fix for that in a moment. Here is the error (repeated many times) : error C2896: 'bool Firebird::Udr::FactoryRegistration::run(Firebird::CheckStatusWrapper *,Firebird::IUdrPlugin *,void (__thiscall Firebird::IUdrPlugin::* )(Firebird::CheckStatusWrapper *,const char *,T *),Firebird::Udr::RegistrationNode<T> *)' : cannot use function template 'void Firebird::IUdrPlugin::registerFunction(StatusType *,const char *,Firebird::IUdrFunctionFactory *)' as a function argument Shall I log this as a bug?
Yes. Looks like we stepped on a limitation of MS compiler. Let's wait for comments from Adriano.
BTW - what version of VS fails? What does newest version say about this place?
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel