[Ekiga-devel-list] Trunk ptlib compilation errors



Hi,

A recent check-in in ptlib (http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?limit_changes=0&view=rev&revision=21788) removed "#include <ptlib.h>" from several header files. This leads to compilation errors in ekiga, such as:

g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/gmconf -I../../../../lib/engine/framework -I../../../../lib/engine/audiooutput/skel -I../../../../lib/engine/audioinput/skel -I../../../../lib/engine/audioinput/null -I../../../../lib/engine/hal/skel -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 -fno-exceptions -I/usr/include/SDL -Wall -g -O2 -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow -MT audioinput-manager-null.lo -MD -MP -MF .deps/audioinput-manager-null.Tpo -c ../../../../lib/engine/audioinput/null/audioinput-manager-null.cpp -fPIC -DPIC -o .libs/audioinput-manager-null.o In file included from ../../../../lib/engine/audioinput/null/audioinput-manager-null.h:45, from ../../../../lib/engine/audioinput/null/audioinput-manager-null.cpp:35: /usr/include/ptclib/delaychan.h:49: error: expected class-name before ‘{’ token
/usr/include/ptclib/delaychan.h:50: error: ‘PObject’ has not been declared

I do not know whether if it was done intentionally or not. I suppose it was by accident, otherwise ekiga should include <ptlib.h> explicitly in some cases.

You can see the files which removed ptlib.h inclusion with
  svn diff -r 21787:21788 | less
and search for
  ^-[^-].*ptlib.h

Cheers,
--
Eugen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]