From: Makoto O. <oni...@la...> - 2003-12-03 09:41:41
|
From: "Anthony J. Starks" <ajs...@co...> Subject: [Xmltk-devs] Building xmltk on Mac OS X Date: Tue, 2 Dec 2003 19:32:11 -0500 Message-ID: <229...@co...> >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, It doesn't matter a lot. >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 I like to confirm that the line _Assign(&static_cast<IUnknownCL*>(m_pchOut), m_pchCur); occurs above errors, right? I compiled the XMLTK with some modifications using gcc 3.3.1 (cygwing special) and it works fine at least. makoto |