Menu

kphpdev_0.16 doesnt compile

Help
2000-09-14
2001-04-12
  • Volker Hett

    Volker Hett - 2000-09-14

    Hy all,

    due to my lack of skills Im helpless here :-)

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

    what can I do?

    TIA

    Volker

     
    • Pavel Suchmann

      Pavel Suchmann - 2000-11-01

      try to change the line 21 in the file ctcpclient.cpp:
      to: 

        char *r = (char *)d; 

      to project developers: this err appears when using g++ ver. 2.95.2 - i have SuSE 7.0

      cheers,
      BVer

       
    • Mike King

      Mike King - 2001-04-12

      PLEASE PLEASE PLEASE put this in the bug tracker!

       
      • Pavel Suchmann

        Pavel Suchmann - 2001-04-12

        lunaboy,

        i do not undestand this much... the pointer casting is my workaround only - to get the project compiled. this needs a better fix i think.

        it seems to me you have already placed the description to the bugtracker

        cheers,
        BVer

         
        • Mike King

          Mike King - 2001-04-12

          It worked to get mine compiled as well, but I am having a hell of a time getting this thing to work.

          It would be nice if there was ANY documentation on this project.

          Also, I did put the problem, and your proposed solution into the bugtracker.

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.