aspell-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pspell-user] Problems with PspellCanHaveError Type


From: Kevin Atkinson
Subject: Re: [pspell-user] Problems with PspellCanHaveError Type
Date: Tue, 5 Jun 2001 08:29:10 -0400 (EDT)

On Wed, 30 May 2001, Jeff Mace wrote:

> 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.

Are you still having problems with this code?  I can not see anything
wrong here.  If you still please send me a complete program.

---
Kevin Atkinson
kevina at users sourceforge net
http://www.ibiblio.org/kevina/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]