To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=79081
------- Additional comments from [EMAIL PROTECTED] Tue Jul 3 13:09:18 +0000 2007 ------- AW: Identified the error-prone part in writerwordglue.cxx. Do the following experiment to reproduce: For the header, add the following directly after the line 'namespace sw': ----<snip>---- namespace drawinglayer { namespace sw { namespace util { class rgnfA { rgnfA(); }; class rgnfB { rgnfB(); }; }}} ----<snip>---- For the source file, replace line 318 (inside the anonymous napespace) with te following excerpt which splits the anonymous napespace and adds the definitions: ----<snip>---- } namespace drawinglayer { namespace sw { namespace util { rgnfA::rgnfA() {}; }}} namespace { template<class C> class StyleMapperImpl { private: MapperImpl<C> maHelper; std::set<const C*> maUsedStyles; C* MakeNonCollidingStyle(const String& rName); public: typedef std::pair<C*, bool> StyleResult; StyleMapperImpl(SwDoc &rDoc) : maHelper(rDoc) {} StyleResult GetStyle(const String& rName, ww::sti eSti); }; } namespace sw { namespace util { rgnfB::rgnfB() {}; }} namespace { ----<snip>---- Both rgnf classes produce no error showing that after the template the namespace drawinglayer is defined and causes the problem. HJS found out that it is even enough only to define the template class itself, removing it's content (!). The following new errors show up in the command line: ----<snip>---- D:\aw033\SRC680\sw\source\filter\ww8\writerwordglue.cxx(379) : error C2888: 'drawinglayer::`anonymous-namespac e'::StyleMapperImpl<C>::StyleResult drawinglayer::`anonymous-namespace'::StyleMapperImpl<C>::GetStyle(const St ring &,ww::sti)' : symbol cannot be defined within namespace ' ?? A0xbf2e18ba' D:\aw033\SRC680\sw\source\filter\ww8\writerwordglue.cxx(406) : error C2888: 'C *drawinglayer::`anonymous-names pace'::StyleMapperImpl<C>::MakeNonCollidingStyle(const String &)' : symbol cannot be defined within namespace ' ?? A0xbf2e18ba' ----<snip>---- Another point: Building the single file with debug helps since with debug, the PCH is switched off. I will use this for now to continue working. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]