www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15424] New: openSUSE warns on gethostbyname uses

https://issues.dlang.org/show_bug.cgi?id=15424

          Issue ID: 15424
           Summary: openSUSE warns on gethostbyname uses
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: code klickverbot.at

This was originally reported to LDC as
https://github.com/ldc-developers/ldc/issues/1228:

The gethostbyname*() familiy of functions is apparently deprecated in glibc.
The openSUSE RPM linter tool warns against using it:
https://en.opensuse.org/openSUSE:Packaging_checks#binary-or-shlib-calls-gethostbyname

We probably don't want to be using it anyway, given that IPv6 is becoming more
and more popular.

--
Dec 08 2015