Scott Kostyshak wrote:

> I tried xmingw-script on current master but it does not succeed for me.
> 
> I get the following:
> 
> error:
> In file included from
> 
/home/scott/lyxbuilds/master/CMakeBuild/src/support/_allinone_const.C:118:0:
> /home/scott/lyxbuilds/master/repo/src/support/convert.cpp:158:32: error:
> specialization of ‘Target lyx::convert(Source) [with Target = int;
> Source = s
> td::__cxx11::basic_string<char>]’ after instantiation
>  int convert<int>(string const s)

The compiler complains here that lyx::convert<int, std::string>() was used 
before the template was specialized. This does not look correct to me, since 
the template specialization is correctly declared in the header. Either we 
have a strange effect of the monolithic build (e.g. #define convert 
somethingelse), or a compiler bug, or some new C++ standard does not allow 
the way we declare the specializations anymore. I don't think the issue has 
something to do with regex or other configuration stuff. Does it go away if 
you switch off monolithic build?


Georg

Reply via email to