Itamar already has the patch for this ready. Itamar are you committing that?
On Wed, Jan 13, 2010 at 3:54 PM, Paul J. Lucas <p...@lucasmail.org> wrote: > Using Mac OS X 10.6.2 (Snow Leopard): > > $ uname -a > Darwin paulbook.pauljlucas.org 10.2.0 Darwin Kernel Version 10.2.0: Tue Nov > 3 10:37:10 PST 2009; root:xnu-1486.2.11~1/RELEASE_I386 i386 > > and g++ 4.2.1: > > $ g++ --version > i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1) > > when compiling via: > > $ cd clucene > $ mkdir build > $ cd build > $ cmake -G'Unix Makefiles' .. > > I eventually get: > > IndexFileDeleter.cpp: In member function 'void > lucene::index::IndexFileDeleter::message(std::string)': > IndexFileDeleter.cpp:93: error: cast from '_opaque_pthread_t*' to 'int32_t' > loses precision > > This is because the default for Snow Leopard's g++ is to produce 64-bit > binaries and trying to cast any 64-bit pointer into an int_32t won't work. > Hence, this is a bug for 64-bit systems. > > In the mean-time, can somebody tell be how to pass the -m32 option to g++ to > force it to build 32-bit binaries? If this were just plain configure, I > could do: > > $ CFLAGS="-m32" ./configure > > but it's not clear to me how to do the equivalent using cmake. > > - Paul > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > CLucene-developers mailing list > CLucene-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clucene-developers > ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers