From: Anthony J. S. <ajs...@co...> - 2003-12-03 00:32:18
|
Using a version pulled from CVS on 2003-12-02, under Mac OS X (10.3.1), gcc version 3.3: I removed #include <sys/sysinfo.h>, to get most things to build, however some things are still broken -- xsort, xpair, xnest: g++ -I. -I../include -I../xpathDFA -I../streamIndex -c -g -O2 -Wall -Wno-ctor-dtor-privacy -Wno-sign-compare -Wno-deprecated -D__gnu_cxx=std main.cpp main.cpp: In member function `void CTailHandler::_OnCloseContext()': main.cpp:264: error: non-lvalue in unary `&' main.cpp: In member function `void CTailHandler::_OnCloseElement()': main.cpp:278: error: non-lvalue in unary `&' make[1]: *** [main.o] Error 1 g++ -I. -I/Users/ajstarks/Code/xmltk/include -I/Users/ajstarks/Code/xmltk/xpathDFA -I/Users/ajstarks/Code/xmltk/streamIndex -c -g -O2 -Wall -Wno-ctor-dtor-privacy -Wno-sign-compare -Wno-deprecated -D__gnu_cxx=std xpair.cpp xpair.cpp: In member function `void CPairHandler::_OnCloseElement(Variable*)': xpair.cpp:158: error: non-lvalue in unary `&' make[1]: *** [xpair.o] Error 1 g++ -I. -I/Users/ajstarks/Code/xmltk/include -I/Users/ajstarks/Code/xmltk/xpathDFA -I/Users/ajstarks/Code/xmltk/streamIndex -c -g -O2 -Wall -Wno-ctor-dtor-privacy -Wno-sign-compare -Wno-deprecated -D__gnu_cxx=std xnest.cpp xnest.cpp: In member function `void CNestHandler::_OnCloseElement(Variable*)': xnest.cpp:313: error: non-lvalue in unary `&' make[1]: *** [xnest.o] Error 1 |