[Freeswitch-users] ESL php client

Madovsky infos at madovsky.org
Wed Jan 26 08:03:10 MSK 2011


is it safe to remove warnings as error ?
I'd like to correct it but don't know enough C language
to do it.
  ----- Original Message ----- 
  From: Madovsky 
  To: freeswitch-users at lists.freeswitch.org 
  Sent: Tuesday, January 25, 2011 12:28 AM
  Subject: ESL php client


  no luck from libs/esl
  make phpmod

  make MYLIB="../libesl.a" SOLINK="-shared -Xlinker -x" CFLAGS="-I/home/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -O2 -ffast-math -Wall -Werror -Wunused-variable -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes" CXXFLAGS="-I/home/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable" CXX_CFLAGS="" -C php
  make[1]: Entering directory `/home/src/freeswitch/libs/esl/php'
  g++  -I/home/src/freeswitch/libs/esl/src/include -DHAVE_EDITLINE -g -ggdb -I../../libs/libedit/src/ -fPIC -Wall -Werror -Wno-unused-variable -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -Wno-unused-label -Wno-unused-function -c esl_wrap.cpp -o esl_wrap.o
  cc1plus: warnings being treated as errors
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  esl_wrap.cpp:2565: error: deprecated conversion from string constant to âchar*â
  make[1]: *** [esl_wrap.o] Error 1
  make[1]: Leaving directory `/home/src/freeswitch/libs/esl/php'
  make: *** [phpmod] Error 2

  PHP 4.4.9 is instlalled on my server

  Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110126/247e462e/attachment.html 


More information about the FreeSWITCH-users mailing list