Share

Hunspell

Tracker: Bugs

5 "DLL" versions do not compile in VisualStudio 2005 SP1 - ID: 2879797
Last Update: Comment added ( miro )

When compiling "Debug_DLL" or "Release_DLL" targets in VS2005 SP1, I get
warnings/errors given below.
Note that non-DLL build targets work fine, but shring the same warnings as
below (no errors).

1>------ Build started: Project: libhunspell, Configuration: Release_dll
Win32 ------
1>Compiling...
1>utf_info.cxx
1>suggestmgr.cxx
1>..\hunspell\suggestmgr.cxx(1625) : warning C4127: conditional expression
is constant
1>phonet.cxx
1>..\hunspell\phonet.cxx(283) : warning C4127: conditional expression is
constant
1>hunzip.cxx
1>hunspell.cxx
1>..\hunspell\hunspell.cxx(499) : warning C4189: 'corr' : local variable is
initialized but not referenced
1>..\hunspell\hunspell.cxx(518) : warning C4189: 'result' : local variable
is initialized but not referenced
1>..\hunspell\hunspell.cxx(1940) : warning C4100: 'pHunspell' :
unreferenced formal parameter
1>hashmgr.cxx
1>filemgr.cxx
1>dictmgr.cxx
1>csutil.cxx
1>affixmgr.cxx
1>..\hunspell\affixmgr.cxx(1678) : warning C4244: '+=' : conversion from
'int' to 'short', possible loss of data
1>..\hunspell\affixmgr.cxx(1813) : warning C4244: '+=' : conversion from
'int' to 'short', possible loss of data
1>..\hunspell\affixmgr.cxx(1819) : warning C4244: '-=' : conversion from
'int' to 'short', possible loss of data
1>..\hunspell\affixmgr.cxx(2121) : warning C4244: '+=' : conversion from
'int' to 'short', possible loss of data
1>..\hunspell\affixmgr.cxx(2279) : warning C4244: '+=' : conversion from
'int' to 'short', possible loss of data
1>..\hunspell\affixmgr.cxx(2285) : warning C4244: '-=' : conversion from
'int' to 'short', possible loss of data
1>..\hunspell\affixmgr.cxx(4006) : warning C4244: '+=' : conversion from
'int' to 'char', possible loss of data
1>affentry.cxx
1>..\hunspell\affentry.cxx(108) : warning C4127: conditional expression is
constant
1>..\hunspell\affentry.cxx(496) : warning C4127: conditional expression is
constant
1>hunspelldll.c
1>.\hunspelldll.c(85) : warning C4100: 'pMS' : unreferenced formal
parameter
1>.\hunspelldll.c(109) : warning C4100: 'reserved' : unreferenced formal
parameter
1>.\hunspelldll.c(107) : warning C4100: 'hInst' : unreferenced formal
parameter
1>Compiling resources...
1>Linking...
1>LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
1> Creating library
C:\temp\hunspell-1.2.8\src\win_api\Release_dll\libhunspell\libhunspell.lib
and object
C:\temp\hunspell-1.2.8\src\win_api\Release_dll\libhunspell\libhunspell.exp
1>affixmgr.obj : error LNK2001: unresolved external symbol "public: int
__thiscall RepList::add(char *,char *)" (?add@RepList@@QAEHPAD0@Z)
1>affixmgr.obj : error LNK2001: unresolved external symbol "public:
__thiscall RepList::~RepList(void)" (??1RepList@@QAE@XZ)
1>affixmgr.obj : error LNK2001: unresolved external symbol "public:
__thiscall RepList::RepList(int)" (??0RepList@@QAE@H@Z)
1>hunspell.obj : error LNK2001: unresolved external symbol "public: int
__thiscall RepList::conv(char const *,char *)"
(?conv@RepList@@QAEHPBDPAD@Z)
1>C:\temp\hunspell-1.2.8\src\win_api\Release_dll\libhunspell\libhunspell.dl
l : fatal error LNK1120: 4 unresolved externals
1>Build log was saved at
"file://c:\temp\hunspell-1.2.8\src\win_api\Release_dll\libhunspell\BuildLog
.htm"
1>libhunspell - 5 error(s), 18 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========


Miroslav Rajcic ( miro ) - 2009-10-15 10:58

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2009-10-15 11:16
Sender: miro

The errors are due to replist.cxx not being added to the VS project.


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.