Vincent_ Patch for 13313: about windows build error in latest version

From: vincent.abiword <vincent.abiword_at_gmail.com>
Date: Mon Apr 02 2012 - 07:44:37 CEST

Hi,
I am Vincent.

in the latest version of abiword code, I found that there are several build errors:
http://bugzilla.abisource.com/show_bug.cgi?id=13313

1>Compiling...
1>ap_Dialog_Latex.cpp
1>..\..\src\wp\ap\xp\ap_Dialog_Latex.cpp(90) : error C2057: expected constant
expression
1>..\..\src\wp\ap\xp\ap_Dialog_Latex.cpp(90) : error C2466: cannot allocate an
array of constant size 0
1>..\..\src\wp\ap\xp\ap_Dialog_Latex.cpp(90) : error C2133: 'wName' : unknown
size

1>ap_EditMethods.obj : error LNK2019: unresolved external symbol "bool __cdecl
UT_legalizeFileName(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > &)"
(?UT_legalizeFileName@@YA_NAAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function "bool __cdecl s_AskForPathname(class XAP_Frame
*,bool,int,char const *,char * *,int *)"
(?s_AskForPathname@@YA_NPAVXAP_Frame@@_NHPBDPAPADPAH@Z)


and My patch is attached in that bug, please help me to have a code review. thanks


Vincent
Received on Mon Apr 2 07:44:56 2012

This archive was generated by hypermail 2.1.8 : Mon Apr 02 2012 - 07:44:56 CEST