HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] Build on MacOSX 10.5 leopard fails
Yoshi wrote:
> /usr/bin/g++ -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././ util
> -I.././util -I/opt/local/include -g -O -x c++ -c Dispatcher.c++
> Dispatcher.c++: In member function ‘virtual bool Dispatcher::anyReady
> () const’:
> Dispatcher.c++:510: error: invalid conversion from ‘const fd_set*’ to
> ‘fd_set*’
> Dispatcher.c++:510: error: initializing argument 2 of ‘int
> __darwin_fd_isset(int, fd_set*)’
> Dispatcher.c++:511: error: invalid conversion from ‘const fd_set*’ to
> ‘fd_set*’
> Dispatcher.c++:511: error: initializing argument 2 of ‘int
> __darwin_fd_isset(int, fd_set*)’
> Dispatcher.c++:511: error: invalid conversion from ‘const fd_set*’ to
> ‘fd_set*’
> Dispatcher.c++:511: error: initializing argument 2 of ‘int
> __darwin_fd_isset(int, fd_set*)’
> make[3]: *** [Dispatcher.o] Error 1
Do these changes make any difference for you? :
diff -Nru hylafax.orig/util/Dispatcher.c++ hylafax/util/Dispatcher.c++
--- hylafax.orig/util/Dispatcher.c++ 2007-11-15 08:20:39.998502160 -0800
+++ hylafax/util/Dispatcher.c++ 2007-11-15 09:06:52.088080488 -0800
@@ -516,7 +516,7 @@
return (nfound != 0);
}
-bool Dispatcher::anyReady() const {
+bool Dispatcher::anyReady() {
if (!_cqueue->isEmpty()) {
Dispatcher::sigCLD(0); // poll for pending children
return _cqueue->isReady();
diff -Nru hylafax.orig/util/Dispatcher.h hylafax/util/Dispatcher.h
--- hylafax.orig/util/Dispatcher.h 2007-11-15 08:20:39.997502312 -0800
+++ hylafax/util/Dispatcher.h 2007-11-15 09:06:39.095055728 -0800
@@ -72,7 +72,7 @@
virtual void attach(int fd, DispatcherMask, IOHandler*);
virtual void detach(int fd);
virtual bool dispatch(timeval*);
- virtual bool anyReady() const;
+ virtual bool anyReady();
virtual int fillInReady(fd_set&, fd_set&, fd_set&);
virtual int waitFor(fd_set&, fd_set&, fd_set&, timeval*);
virtual void notify(int, fd_set&, fd_set&, fd_set&);
Thanks,
Lee.
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*