On Feb 3, 12:13pm, Matt Garretson wrote: } } When trying to build Qpopper 4.0.18 on a fresh Fedora 11 } installation, I got this error: } } popper.c: In function qpopper: } popper.c:153: error: conflicting types for getline } /usr/include/stdio.h:653: note: previous declaration of getline was here } } getline() is indeed defined in stdio.h . But, interestingly, the } build succeeds under Fedora 10, which also has getline() in stdio.h. } The difference between the two Fedoras seems to be that in } Fedora 10, getline() is contained within an #ifdef __USE_GNU , } while in Fedora 11, it's contained within an #ifdef __USE_XOPEN2K8
We're seeing the same type of problem on NetBSD. It seems that getline() is now a POSIX functions. This means that all apps must be adapted to use the OS supplied getline() if it exists or rename their internal getline(). }-- End of excerpt from Matt Garretson