[Bug 924] error compiling with gcc 4.5

[email protected] Wed, 13 Jan 2010 07:22:16 -0500
Newsgroups gmane.comp.telephony.fax.hylafax.devel
Message-ID <[email protected]>
http://bugs.hylafax.org/show_bug.cgi?id=924





------- Comment #1 from [email protected]  2010-01-13 07:22 -------
config.log?

For some reason, configure isn't finding a declaration of "fchmod" in any of
the following files:
  $cat t.c++
  #include "unistd.h"
  #include "libc.h"
  #include "sys/stat.h"

You should be able to duplicate configure's attempt by something like:
   $CXX -E t.c++ \
        | sed -e '/\/\*/,/\*\//d' -e 's;//.*$;;'
        | awk '{while($0~/[,(][ \t]*$/){printf"%s",$0;getline}print}' \
        | grep "fchmod[ ]*(.*)"

It might be interesting to note the difference in the above output between GCC
4.4 and 4.5


-- 
Configure bugmail: http://bugs.hylafax.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


____________________ HylaFAX(tm) Developers Mailing List ____________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe [email protected] < /dev/null