On Thu, Nov 01, 2007 at 01:06:21AM +0100, Stefan Schimanski wrote: >> /Users/sts/Quellen/mac/dynmacro16/src/tex2lyx/gettext.cpp: In function >> 'const lyx::docstring lyx::_(const std::string&)': >> /Users/sts/Quellen/mac/dynmacro16/src/tex2lyx/gettext.cpp:20: error: >> return type 'const struct lyx::docstring' is incomplete >> /Users/sts/Quellen/mac/dynmacro16/src/tex2lyx/gettext.cpp: In function >> 'const lyx::docstring lyx::_(const std::string&)': >> /Users/sts/Quellen/mac/dynmacro16/src/tex2lyx/gettext.cpp:22: error: >> invalid use of undefined type 'const struct lyx::docstring' >> /Users/sts/Quellen/mac/dynmacro16/src/support/strfwd.h:24: error: >> declaration of 'const struct lyx::docstring' >> >> Probably some missing header, but am too tired now to search for the exact >> reason. > > Was simple, just the docstring.h include was missing.
Yes, that was the plan. > André, I guess your forward declaration would not be enough here > because no reference or pointer was returned? I don't think it is needed. I'll try to look it up, though. Andre'