[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    [pspell-user] Problems with PspellCanHaveError Type
From:       Jeff Mace <jhm18 () psu ! edu>
Date:       2001-05-30 18:36:07
Message-ID: Pine.LNX.4.33.0105301433540.30826-100000 () shifty ! cac ! psu ! edu
[Download RAW message or body]

I am having problems with the following code.

        PspellConfig * config;
        PspellCanHaveError * ret;
        PspellManager * checker;
        PspellWordList * suggestions;
        PspellStringEmulation * elements;

        config = new_pspell_config();
        pspell_config_replace(config, "language-tag", "en");
        ret = new_pspell_manager(config);
        checker = 0;
fprintf(stderr, "errorno : %d\n", pspell_error_number(ret));
        if (pspell_error_number(ret) != 0) {
                fprintf(stderr, "%s\n", pspell_error_message(ret));
        } else {
                checker = to_pspell_manager(ret);
        }

It will compile but the fprintf statement causes an error.  Does anybody
have any ideas?  Thanks for your help.

Jeff Mace
Advanced Information Technologies
Center for Academic Computing
Pennsylvania State University



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic