Re: Solaris 10 x86 compile bug still there

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

Received on Thursday, 21 August 2008 00:57:25 UTC