[Bug 402174] Re: fileno implicitly converted to pointer

Michael Terry michael.terry at canonical.com
Thu Sep 10 16:04:32 UTC 2009


The problem is that fsl is built with the -ansi flag.  Thus, fdopen and
fileno are not defined by default.  In order to have them defined,
either _GNU_SOURCE or _POSIX_SOURCE should be defined (exact list of
symbols that would enable them are in their man pages).

Since many other files in the fsl source already define the pair of
_GNU_SOURCE and POSIX_SOURCE for specific files, I just added them to
the relevant wpng.c file (no patch system in the debian package, so I
patched directly).

Will open a Debian bug too.

** Attachment added: "fsl-fdopen.debdiff"
   http://launchpadlibrarian.net/31601935/fsl-fdopen.debdiff

** Changed in: fsl (Ubuntu Karmic)
       Status: In Progress => Confirmed

** Changed in: fsl (Ubuntu Karmic)
     Assignee: Michael Terry (mterry) => (unassigned)

-- 
fileno implicitly converted to pointer
https://bugs.launchpad.net/bugs/402174
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list