Menu

#98 RepList class define the "near" method

open
nobody
None
5
2008-12-16
2008-12-16
Anonymous
No

RepList class has a method called "near".

In the MS Windows SDK WINDEF.H include file the "near" keyword has been undefined in a way similar to the following one:

...
#ifdef near
#undef near
#define near
#endif
...

This cause that the RepList.hxx file (included by affixmgr.hxx, include by hunspell.hxx included ny hunspelldll.h) is included with a method called

...
int (const char * word);
...

causing a compile error in programs using the libhunspell.dll v.1.2.8

Discussion