looks like nobody has fixed stlport since the last time gcc was
upgraded...

(i don't know C++ very well, so wasn't able to fix it myself...)

> make
===>  Extracting for stlport-gcc-4.5.3_1
>> Checksum OK for STLport-4.5.3.tar.gz.
===>   stlport-gcc-4.5.3_1 depends on executable: gmake - found
===>  Patching for stlport-gcc-4.5.3_1
===>  Applying FreeBSD patches for stlport-gcc-4.5.3_1
===>  Configuring for stlport-gcc-4.5.3_1
===>  Building for stlport-gcc-4.5.3_1
echo "Note : this makefile requires gmake on FreeBSD"
Note : this makefile requires gmake on FreeBSD
mkdir -p ../lib/obj/GCC-FREEBSD/ReleaseD
g++ -D_THREAD_SAFE -D_REENTRANT -fexceptions -I../stlport -Wall -W
-Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32  -O
-pipe -march=athlon-mp -fPIC dll_main.cpp -c -o
../lib/obj/GCC-FREEBSD/ReleaseD/dll_main.o
In file included from ../stlport/stl/_alloc.h:60,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/new:36:49: ../g++/new: No such file or directory
In file included from ../stlport/stl/_alloc.h:60,
                 from ../stlport/memory:28,
                 from dll_main.cpp:38:
../stlport/new:45: `nothrow_t' not declared
../stlport/new:46: `nothrow' not declared
../stlport/new:52: `new_handler' not declared
../stlport/new:53: `set_new_handler' not declared
../stlport/stl/_pthread_alloc.c: In static member function `static
   _STL::_Pthread_alloc_per_thread_state<_Max_size>*
   _STL::_Pthread_alloc<_Max_size>::_S_get_per_thread_state() [with
unsigned
   int _Max_size = 128]':
dll_main.cpp:160:   instantiated from here
../stlport/stl/_pthread_alloc.c:81: invalid use of undefined type `struct
   std::bad_alloc'
<internal>:81: forward declaration of `struct std::bad_alloc'
dll_main.cpp:160:   instantiated from here
../stlport/stl/_pthread_alloc.c:90: invalid use of undefined type `struct
   std::bad_alloc'
<internal>:90: forward declaration of `struct std::bad_alloc'
../stlport/stl/_alloc.c: In static member function `static void*
   _STL::__malloc_alloc<__inst>::_S_oom_malloc(unsigned int) [with int
__inst =
   0]':
dll_main.cpp:163:   instantiated from here
../stlport/stl/_alloc.c:75: invalid use of undefined type `struct
   std::bad_alloc'
<internal>:75: forward declaration of `struct std::bad_alloc'
<internal>: In function `void _STL::_Construct(_T1*, const _T2&) [with _T1
=
   void*, _T2 = void*]':
../stlport/stl/_alloc.h:365:   instantiated from `void
_STL::allocator<_Tp>::construct(_Tp*, const _Tp&) const [with _Tp =
void*]'
dll_main.cpp:169:   instantiated from here
<internal>:85: too many arguments to function `void* operator new(unsigned
int)
   '
../stlport/stl/_construct.h:85: at this point in file
<internal>: In function `void _STL::_Construct(_T1*, const _T2&) [with _T1
=
   char, _T2 = char]':
../stlport/stl/_alloc.h:365:   instantiated from `void
_STL::allocator<_Tp>::construct(_Tp*, const _Tp&) const [with _Tp = char]'
dll_main.cpp:184:   instantiated from here
<internal>:85: too many arguments to function `void* operator new(unsigned
int)
   '
../stlport/stl/_construct.h:85: at this point in file
<internal>: In function `void _STL::_Construct(_T1*) [with _T1 = char]':
../stlport/stl/_string.h:326:   instantiated from `void
_STL::basic_string<_CharT, _Traits,
_Alloc>::_M_construct_null_aux(_CharT*, const _STL::__false_type&) [with
_CharT = char, _Traits = _STL::char_traits<char>, _Alloc =
_STL::allocator<char>]'
dll_main.cpp:192:   instantiated from here
<internal>:93: too many arguments to function `void* operator new(unsigned
int)
   '
../stlport/stl/_construct.h:93: at this point in file
gmake: *** [../lib/obj/GCC-FREEBSD/ReleaseD/dll_main.o] Error 1
*** Error code 2

Stop in /usr/ports/devel/stlport.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to