devel/stlport compile broken in -current

2003-02-09 Thread Lamont Granquist

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_traitschar, _Alloc =
_STL::allocatorchar]'
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



Re: devel/stlport compile broken in -current

2003-02-09 Thread Craig Rodrigues
On Sun, Feb 09, 2003 at 10:54:27AM -0800, Lamont Granquist wrote:
 
 looks like nobody has fixed stlport since the last time gcc was
 upgraded...

I don't get these error messages on -current.

 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
^^^

This file should exist in /usr/include/g++/new.

How did you install -current?

Did you read all the entries in /usr/src/UPDATING, especially
the entry dated 20020831?

-- 
Craig Rodrigues
http://home.attbi.com/~rodrigc
[EMAIL PROTECTED]

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



Re: devel/stlport compile broken in -current

2003-02-09 Thread Lamont Granquist


On Sun, 9 Feb 2003, Craig Rodrigues wrote:
 On Sun, Feb 09, 2003 at 10:54:27AM -0800, Lamont Granquist wrote:
  looks like nobody has fixed stlport since the last time gcc was
  upgraded...

 I don't get these error messages on -current.

  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
 ^^^

 This file should exist in /usr/include/g++/new.

 How did you install -current?

its been updated frequently over the past 6 months - 1 year...  i think
there's been at least two compiler changes since i started tracking
-current...

 Did you read all the entries in /usr/src/UPDATING, especially
 the entry dated 20020831?

mmm  i don't think i did that because it was phrased as being
optional and only if you encountered problems...  i'll try that, thanks
for pointing it out...


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



Re: devel/stlport compile broken in -current

2003-02-09 Thread Lamont Granquist

Thanks, that looks like that was the issue...

On Sun, 9 Feb 2003, Lamont Granquist wrote:
 On Sun, 9 Feb 2003, Craig Rodrigues wrote:
  On Sun, Feb 09, 2003 at 10:54:27AM -0800, Lamont Granquist wrote:
   looks like nobody has fixed stlport since the last time gcc was
   upgraded...
 
  I don't get these error messages on -current.
 
   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
  ^^^
 
  This file should exist in /usr/include/g++/new.
 
  How did you install -current?

 its been updated frequently over the past 6 months - 1 year...  i think
 there's been at least two compiler changes since i started tracking
 -current...

  Did you read all the entries in /usr/src/UPDATING, especially
  the entry dated 20020831?

 mmm  i don't think i did that because it was phrased as being
 optional and only if you encountered problems...  i'll try that, thanks
 for pointing it out...


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




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