Uwe Stöhr wrote: > Compilation via CMake and MSVC2008 shows this warning: > > d:\lyxsvn\lyx-devel\src\frontends\qt4\guihyperlink.cpp(28) : warning C4717: > 'lyx::operator==' : recursive on all control paths, function will cause > runtime stack overflow
this comes from here http://www.lyx.org/trac/changeset/33272 and i wonder whether #include docstring.h is not the proper way how to fix it? #ifdef LYX_MERGED_BUILD // GCC couldn't find operator== namespace lyx { bool operator==(lyx::docstring & d, char const * c) { return lyx::operator ==(d, c); } namespace frontend { bool operator==(lyx::docstring & d, char const * c) { return lyx::operator ==(d, c); } } } #endif pavel