![]() |
Lee Howard typed (on Sun, Nov 18, 2007 at 07:43:00PM -0800): > Jean-Pierre Radley wrote: > >> I had zero problems compiling 5.1.10 on SCO OSR 6.0.0, but 5.1.11 barfs: >> >> /bin/CC -D__ANSI_CPP__ -I. -I.. -I.././regex -I.././util -I.././util -I/usr/local/include -O -c InetTransport.c++ >> "InetTransport.c++", line 153: error: a value of type "const char *" cannot be >> used to initialize an entity of type "char *" >> char *cp = strchr(client.getLastResponse(), '('); >> ^ >> > > My 'man strchr' says that it returns (char *) and not (const char *). What > does yours say? > It returns (char *), but the first argument is (const char *): char * strchr(const char * s, int c) -- JP ____________________ 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*