- From: Irene Vatton <Irene.Vatton@inria.fr>
- Date: Thu, 21 Aug 2008 10:50:56 +0200
- To: Mike Brown <brown@mrvideo.vidiot.com>
- Cc: Amaya mail list <www-amaya-dev@w3.org>
Hi Mike, It seems that -D_I32LPx doen't solve the problem as your c++ library (c ++/3.4.3/string) doesn't support "long" pointer values. How other applications solve that problem? If necessary and there is not standard solution we can add an #ifdef SOLARIS section in Amaya/thotlib/include/thot_sys.h Please, let me know. Le mercredi 20 août 2008 à 19:56 -0500, Mike Brown a écrit : > On Wed, Aug 20, 2008 at 11:28:25AM +0200, Irene Vatton wrote: > > I guess Solaris will move "long" pointer values like other platforms, so > > I suggest you force -D_I32LPx when compiling amaya. > > Here is the disasterous results: > > gmake[1]: Entering directory `/usr/local/src/amaya-fullsrc-10.1-pre3/Amaya/Sol10 > /thotlib' > g++ -O2 -Wall -x c++ -D__cplusplus -D_UNIX -D_GL -D_WX -D_I32LPx -DHAVE_CONFIG_H > -I.. -I../../amaya/xpm -I../../thotlib/include -I../../thotlib/internals/var -I > .../../thotlib/internals/h -I../../thotlib/internals/f -I/usr/local/src/amaya-f > ullsrc-10.1-pre3/wxWidgets/src/png -I/usr/local/src/amaya-fullsrc-10.1-pre3/wxWi > dgets/src/jpeg -I/usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/src/tiff -I/us > r/local/src/amaya-fullsrc-10.1-pre3/Amaya/Sol10/wxWidgets_RELEASE/lib/wx/include > /gtk2-unicode-release-static-2.8 -I/usr/local/src/amaya-fullsrc-10.1-pre3/wxWidg > ets/include -I/usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/contrib/include - > D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthreads -D_REENTRANT -I/usr/l > ocal/src/amaya-fullsrc-10.1-pre3/Amaya/Sol10/Mesa/include -I/usr/sfw/include/f > reetype2 -I/usr/sfw/include -c ../../thotlib/base/AmayaAppInstance.cpp -o base/ > AmayaAppInstance.o > In file included from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../inc > lude/c++/3.4.3/bits/stl_algobase.h:69, > from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../inc > lude/c++/3.4.3/bits/char_traits.h:46, > from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../inc > lude/c++/3.4.3/string:47, > from /usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/include/w > x/string.h:176, > from /usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/include/w > x/memory.h:16, > from /usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/include/w > x/object.h:20, > from /usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/include/w > x/wx.h:16, > from ../../thotlib/internals/h/AmayaAppInstance.h:6, > from ../../thotlib/base/AmayaAppInstance.cpp:3: > /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../include/c++/3.4.3/new:82: > error: `operator new' takes type `size_t' (`unsigned int') as first parameter > /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../include/c++/3.4.3/new:83: > error: `operator new' takes type `size_t' (`unsigned int') as first parameter > /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../include/c++/3.4.3/new:86: > error: `operator new' takes type `size_t' (`unsigned int') as first parameter > /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../include/c++/3.4.3/new:87: > error: `operator new' takes type `size_t' (`unsigned int') as first parameter > /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../include/c++/3.4.3/new:92: > error: `operator new' takes type `size_t' (`unsigned int') as first parameter > /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/../../../../include/c++/3.4.3/new:93: > error: `operator new' takes type `size_t' (`unsigned int') as first parameter > In file included from ../../thotlib/base/AmayaAppInstance.cpp:13: > /usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/include/wx/filename.h: In stati > c member function `static wxChar wxFileName::GetPathSeparator(wxPathFormat)': > /usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/include/wx/filename.h:393: erro > r: ambiguous overload for 'operator[]' in 'wxFileName::GetPathSeparators(wxPathF > ormat)()[0u]' > /usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/include/wx/filename.h:393: note > : candidates are: operator[](const wxChar*, int) <built-in> > /usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/include/wx/string.h:823: note: > wxChar& wxString::operator[](int) > /usr/local/src/amaya-fullsrc-10.1-pre3/wxWidgets/include/wx/string.h:825: note: > wxChar& wxString::operator[](size_t) > gmake[1]: *** [base/AmayaAppInstance.o] Error 1 > gmake[1]: Leaving directory `/usr/local/src/amaya-fullsrc-10.1-pre3/Amaya/Sol10/ > thotlib' > gmake: *** [thotlib] Error 2 > > > MB > -- > e-mail: vidiot@vidiot.com /~\ The ASCII > [I've been to Earth. I know where it is. ] \ / Ribbon Campaign > [And I'm gonna take us there. Starbuck 3/25/07] X Against > Visit - URL: http://vidiot.com/ / \ HTML Email > > -- Irene Vatton <Irene.Vatton@inria.fr> INRIA
Received on Thursday, 21 August 2008 08:51:37 UTC