From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Thu Aug 08 2002 - 16:02:55 EDT
On Thu, 2002-08-08 at 21:09, Kenneth J.Davis wrote:
> This backport appears to have broken the Win32 stable build,
> see tinderbox [stable]. Given Head doesn't currently build,
> I can't say for sure, but I suspect a similar change will be
> required there as well. Note: this is due to a MSVC issue
> that must be worked around; I think MSVC 7 is the first to
> properly support this aspect of the standard, and even then
> it must be explicitly enabled.
>
>
> I would appreciate it if someone with an uptodate stable cvs
> tree could commit a fix (move the 'int i' out of the for or similar).
>
>
> ie_imp_DocBook.cpp(661) : error C2374: 'i' : redefinition; multiple initialization
>
> ..
> 653 for (int i = m_iInSection - 1; i < 7; i++)
> 654 {
> ..
> 659 }
> 660
> 661 for (int i = m_iInSection - 2; i >= 1; i++)
> ..
One more time, MSVC is driving us nuts. One more time C++ is prooving to
be badly designed.
Checking in src/wp/impexp/xp/ie_imp_DocBook.cpp;
/cvsroot/abi/src/wp/impexp/xp/Attic/ie_imp_DocBook.cpp,v <--
ie_imp_DocBook.cpp
new revision: 1.26.2.2; previous revision: 1.26.2.1
done
Hub
-- Job-less AbiWord hacker. - http://www.teaser.fr/~hfiguiere/ Cell phone: +33 6 18 01 42 11 GPG fingerprint: 6C44 DB3E 0BF3 EAF5 B433 239A 5FEE 05E6 A56E 15A3
This archive was generated by hypermail 2.1.4 : Thu Aug 08 2002 - 16:05:03 EDT