For portability, the ISO library used by Splint doesn't assume anything
about the values of constants like this.  In this case, you should use
# ifndef __SPLINT__
...
# endif

are a workaround surrounding the #error.

--- Dave

On Tue, 25 Jun 2002, CBFalconer wrote:

> Quoted without further comment (except see end):
>
> > [1] c:\c\hashlib>splint markov.c
> > Splint 3.0.1.6 --- 11 Feb 2002
> >
> >    In file included from markov.c(40)
> > cokusmt.h(9,57): #error System long word size not suitable for cokusMT
> > Preprocessing error for file: markov.c
> > *** Cannot continue.
> >
> > [1] c:\c\hashlib>type cokusmt.h
> > /* file cokusMT.h */
> >
> > #ifndef cokus_h
> > #define cokus_h
> >
> > #include <limits.h>
> >
> > #if ULONG_MAX != 4294967295UL
> >    #error System long word size not suitable for cokusMT
> > #endif
> >
> > void seedMT(unsigned long seed);
> > unsigned long randomMT(void);
> >
> > #endif /* cokus_h */
>
> note: in this system ULONG_MAX == 4294967295UL
>
> --
> Chuck F ([EMAIL PROTECTED]) ([EMAIL PROTECTED])
>    Available for consulting/temporary embedded and systems.
>    <http://cbfalconer.home.att.net>  USE worldnet address!
>

Reply via email to