[sword-devel] compile error

Martin Gruner sword-devel@crosswire.org
Sun, 25 Nov 2001 21:28:54 +0100


When I add -pedantic to the CPPFLAGS in BibleTime, I see the same error that 
was already reported on this list:

/usr/include/sword/swmodule.h: In method `const bool SWModule::isUnicode() 
const':
/usr/include/sword/swmodule.h:136: ambiguous overload for `const char & == 
ENCODINGS'
/usr/include/sword/swmodule.h:136: candidates are: operator ==(int, int) 
<builtin>

Probably it would be good to fix this.
What puzzles me is that when I compile sword it uses -pedantic too, but does 
not complain.


Martin