>mskucher@math.uwaterloo.ca (Murray S. Kucherawy [MFCF]) writes:
>
>| This program:
>|
>| #include <pwd.h>
>| main()
>| {
>| }
>|
>| ...produces three compilation warnings while it's reading the file
>| "/usr/include/pwd.h".
>
>I don't have 4.0.4, but it works fine for me under 4.0.5. What
>warnings do you get, and what compiler flags are you using?
Using "cc -o x x.c":
accom: Warning 315: /usr/include/pwd.h, line 64: struct/union __file_s declared within and limited to this function prototype. Any later function prototype type matching will fail.
accom: Warning 315: /usr/include/pwd.h, line 65: struct/union __file_s declared within and limited to this function prototype. Any later function prototype type matching will fail.
extern int putpwent(const struct passwd *, struct __file_s *);
accom: Warning 315: /usr/include/pwd.h, line 68: struct/union __file_s declared within and limited to this function prototype. Any later function prototype type matching will fail.