[Snowball-discuss] Problem with compiling Snowball under Visual C++
Fri Oct 31 16:47:01 2003
Hi Martin & all,
I've been trying to get Snowball working using Microsoft Visual C++ and have
encountered a couple of small problems:
1. All the individual stemmers are held in files called 'stem.c'. This means
that Visual C++ attempts to compile them into object files called 'stem.obj'
and then gets most confused at link time. I can get round this by some
automated renaming of the sources so it's not a huge problem.
2. In most of the stem.c files there are structures as follows:
if(something) then goto lab4;
[do something to be skipped]
lab4: <--- compiler error here "missing ';' before '}"
If I add a ';' just after the label then the compiler is happy. Does anyone
have any comment? I'm not very familiar with Snowball so apologies for any
Thanks in advance
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 01/09/2003