A few questions while porting

"Gary Setter" <[email protected]>
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <000001c4b1ed$a6049460$59144a0c@pavilion>
Hi,
Is there anyone who can help me with these issues?
1)
I'm getting this warning.
C:\Temp\Play2\lib\string_pair_enumeration-c.cpp(22) : warning
C4190: '<Unknown>' has C-linkage specified, but returns UDT
'StringPair' which is incompatible with C
        common\string_pair.hpp(14) : see declaration of
'StringPair'

As I recall, K&R "c" did not allow returning a struct, but aspell
does as part of the c interface. Is this a problem?

2)
In language.cpp   PosibErr<void> Language::setup(const String &
lang, const Config * config)
there is this code:
      while (getdata_pair(REPL, d, buf)) {
        to_lower(d.key);
        if (d.key == "rep") {
There is no to_lower() function in the global namespace. Do they
mean the acommon namespace or aspeller?

Thanks for your help,
Gary
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.