> >> What happens if you explicitly convert the FLAG_ITEM terms in > >> table.C's > >> invocation of parse_text_in_inset to unsigned? > >> > >> parse_text_in_inset(p, os, unsigned(FLAG_ITEM), false, > context); > > > > The change didn't have any effect on the link error. > > Just for fun, what happens if you move the function to the very end of > table.C. Do both text.C and table.C now complain about a > missing function?
A couple of things. First, doing so makes table.C choke during compilation: ----- table.C \lyx\lyx-devel\src\tex2lyx\win32_tmp\table.C(852) : error C2027: use of undefined type 'Context' c:\lyx\lyx-devel\src\tex2lyx\win32_tmp\tex2lyx.h(24) : see declaration of 'Context' ----- But seeing that makes me now pay attention to these compiler warnings that have been there all along: ----- text.C c:\lyx\lyx-devel\src\tex2lyx\win32_tmp\context.h(46) : warning C4099: 'Context' : type name first seen using 'class' now seen using 'struct' c:\lyx\lyx-devel\src\tex2lyx\win32_tmp\tex2lyx.h(24) : see declaration of 'Context' texparser.C tex2lyx.C c:\lyx\lyx-devel\src\tex2lyx\win32_tmp\context.h(46) : warning C4099: 'Context' : type name first seen using 'class' now seen using 'struct' c:\lyx\lyx-devel\src\tex2lyx\win32_tmp\tex2lyx.h(24) : see declaration of 'Context' ----- Second, commenting out the contents of the parse_text_in_inset function, now at the bottom of table.C, I get past the compile error, but I still get the unresolved external. I'm guessing this class/struct issue with Context might be the problem?