Menu

#1 khphpdev doe not compile

open
nobody
None
5
2000-04-26
2000-04-26
Anonymous
No

Discussion

  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.7 [en] (Win98; I)

    Hello,
    I just upgraded my SuSe 6.3 System to SuSE 6.4.
    after that kphpdev,(which compiled fine two days ago and was already running) did not work any more.
    I tried to recompile it, which euns fine for kphpdev server, but when making the client application i get the
    following error:

    ctcpclient.cpp: In function 'void TCPsend(TcpClient *, const char *, int)':
    ctcpclient.cpp:21: initialization to 'char *' from 'const char *' discards qualifiers

    what do i do wrong? any help or hints?

    anyway: on which libraries does kphpdev depend?

    rtegards,
    henning

     
  • Nobody/Anonymous

    Logged In: YES
    user_id=62459
    Browser: Mozilla/4.73 [en] (WinNT; I)

    Hello,
    I still had Suse 6.4 on my System and got the same error as Henning.
    Up to now I did not see any solution for the problem. I really like to use thsi tool but:

    ctcpclient.cpp: In function 'void TCPsend(TcpClient *, const char *, int)':
    ctcpclient.cpp:21: initialization to 'char *' from 'const char *' discards qualifiers

    and lots of warning befor.

    Is there an anser for the public forums?

    with regards,

    Marcel

     
  • Nobody/Anonymous

    Logged In: YES
    user_id=62459
    Browser: Mozilla/4.73 [en] (WinNT; I)

    Hello,
    I still had Suse 6.4 on my System and got the same error as Henning.
    Up to now I did not see any solution for the problem. I really like to use thsi tool but:

    ctcpclient.cpp: In function 'void TCPsend(TcpClient *, const char *, int)':
    ctcpclient.cpp:21: initialization to 'char *' from 'const char *' discards qualifiers

    and lots of warning befor.

    Is there an anser for the public forums?

    with regards,

    Marcel

     
  • Nobody/Anonymous

    Logged In: NO
    Browser: Mozilla/4.75 [fr] (X11; U; Linux 2.2.16-9mdk i686)

    i'm on mandrake 7.1 and i've the same problem:
    g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde
    -I/usr/include/qt -I/usr/X1
    1R6/include -O2 -Wall -c ctcpclient.cpp
    ctcpclient.cpp: In function `void TCPsend(TcpClient *, const
    char *, int)':
    ctcpclient.cpp:21: initialization to `char *' from `const
    char *' discards quali

    but server works fine

     

Log in to post a comment.