Tobias Gasser wrote:
> libiberty/testsuite/test-demangle.c
> 
> error: conflicting types for 'getline'
> 
> stdio.h now defines getline().
> 
> i didn't check wether older versions did this define too, or another
> include is responsible for setting __USE_XOPEN2K8 requireing stdio.h to
> define this function. i've no clue what "Define XPG7 thins" means (found
> in features.h)
> 
> hotfix:
> sed -i -e 's/getline/_getline/' libiberty/testsuite/test-demangle.c
> 
> 
> 
> i assume to get some more errors with the same issue...
> 
> it's not really a problem. i just think it might be helpfull to know for
> anybody having similar problems with other packages.

This is already in the -dev version of the book and I have reported it upstream.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to