Re: Newbie problems with lclint

2001-11-26 Thread Richard A. O'Keefe
I tried a simple test with an include of that file, and lclint did not complain on Sun Solaris 2.7, but on 2.8, I got this: /usr/include/sys/strft.h:30:26: Parse Error: Suspect missing struct or union keyword: hrtime_t : unsigned int. (For h

Re: Newbie problems with lclint

2001-11-26 Thread Richard A. O'Keefe
Andrew Lister <[EMAIL PROTECTED]> wrote: access.c:73: Unrecognized identifier: strdup Identifier used in code has not been declared. (-unrecog will suppress message) The code compiles, string.h is included, etc, etc. The offending line in acces

Re: Newbie problems with lclint

2001-11-23 Thread Herbert Martin Dietze
Andrew Lister wrote: > access.c:73: Unrecognized identifier: strdup > Identifier used in code has not been declared. (-unrecog will suppress > message) As you are running lclint with the strict POSIX lib it does not recognize `strdup'. Not sure whether this is correct, however it is defined