When I tried a full rebuild of svn 12878, I had a problem in spellcheker, at line 36 in HunspellInterface.h :
#include "hunspell.h"
hunspell.h is not found.
Nevertheless this file is here in ...\SpellChecker\hunspell\src\hunspell and the search path to compile HunspellInterface.cpp seems to be correct.
May be something strange is that in HunspellInterface.cpp you have :
#include "hunspell.h"
#include "HunspellInterface.h"
but HunspellInterface.h contains itself an #include "hunspell.h"
I have solved this by making a copy (in fact, creating hardlinks) of hunspell.h and hunvisapi.h directly in main spellchecker directory. But, it's just a workaround.
PS: I have not this problem with svn 12877.
I can not compile it either. Also, that revision supposedly removes some source files but it does not.
With Leap-15.4, I added the search path for the includes for target 'plugin' : 'hunspell/src/hunspell'
Should be fixed in r12879 (https://sourceforge.net/p/codeblocks/code/12879/).
Looks OK now. Thanks. :)
You may need to modify your generic Spellchecker CBP so it uses the updated search path.
QuoteYou may need to modify your generic Spellchecker CBP
done on my side but not published.
Nevertheless, after some tests, I have problems when I quit codeblocks (before quitting, everything seemed to work as expected). An RPT file is created and in the list of files, I find spellchecker.dll near the top of the list. I reverted to svn 18877 and the problem is no more there. I have built C::B with 32_64 workspace version from r12879.
I can not check ATM, but I think m_pHunhandle must be nullified after the call to Hunspell_destroy().
I have added a patch to ticket 1287 (https://sourceforge.net/p/codeblocks/tickets/1287/) to fix the two crashes I seen with wx3.2. I have only tested the patch for an hour, so it could do with some more testing.