Re: [boost] Current is_convertible borken for bcc5.5.1

2003-02-04 Thread John Maddock
> I was just about to build the filesystem library for the first time on my
> Win98+BCC 5.5.1 environment, but I got lots of errors from
> "type_traits/is_convertible.hpp"
> Since the regression_test shows that this library passed bcc5.6.1
yesterday,
> I thought that is_convertible might have changed today. Indeed, version
1.10
> (the previous)  works fine. (that is, I was able to build the FS library)
>
> I attach here the compiler output using the -Q compiler option (which
shows
> extended error information).

It's a builder 5.5.1 bug: is_convertible does not work correctly with that
compiler (and never has), when one To parameter has a user defined
constructor.

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost



[boost] Current is_convertible borken for bcc5.5.1

2003-02-03 Thread Fernando Cacciola
Hi,

I was just about to build the filesystem library for the first time on my
Win98+BCC 5.5.1 environment, but I got lots of errors from
"type_traits/is_convertible.hpp"
Since the regression_test shows that this library passed bcc5.6.1 yesterday,
I thought that is_convertible might have changed today. Indeed, version 1.10
(the previous)  works fine. (that is, I was able to build the FS library)

I attach here the compiler output using the -Q compiler option (which shows
extended error information).

Fernando Cacciola


Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
..\src\exception.cpp:
Error E2396 C:\boost\boost\boost/type_traits/is_convertible.hpp 190: Template argument 
must be a constant expression in function filesystem::path::end() const
  + Full parser context
  + ..\src\exception.cpp, line 21: #include 
C:\boost\boost\boost\filesystem\exception.hpp
  + C:\boost\boost\boost\filesystem\exception.hpp, line 23: #include 
C:\boost\boost\boost/filesystem/path.hpp
  + C:\boost\boost\boost/filesystem/path.hpp, line 23: namespace boost
  + C:\boost\boost\boost/filesystem/path.hpp, line 25: namespace filesystem
  + C:\boost\boost\boost/filesystem/path.hpp, line 53: class filesystem::path
  + C:\boost\boost\boost/filesystem/path.hpp, line 135: decision to instantiate: 
iterator_adaptor 
filesystem::path::end() const
  + --- Resetting parser context for instantiation...
  + C:\boost\boost\boost/filesystem/path.hpp, line 108: parsing: 
iterator_adaptor 
filesystem::path::end() const
  + ..\src\exception.cpp, line 21: #include 
C:\boost\boost\boost\filesystem\exception.hpp
  + C:\boost\boost\boost\filesystem\exception.hpp, line 23: #include 
C:\boost\boost\boost/filesystem/path.hpp
  + C:\boost\boost\boost/filesystem/path.hpp, line 16: #include 
C:\boost\boost\boost/iterator_adaptors.hpp
  + C:\boost\boost\boost/iterator_adaptors.hpp, line 138: namespace boost
  + C:\boost\boost\boost/iterator_adaptors.hpp, line 816: decision to instantiate: 
iterator_adaptor
  + --- Resetting parser context for instantiation...
  + ..\src\exception.cpp, line 21: #include 
C:\boost\boost\boost\filesystem\exception.hpp
  + C:\boost\boost\boost\filesystem\exception.hpp, line 23: #include 
C:\boost\boost\boost/filesystem/path.hpp
  + C:\boost\boost\boost/filesystem/path.hpp, line 16: #include 
C:\boost\boost\boost/iterator_adaptors.hpp
  + C:\boost\boost\boost/iterator_adaptors.hpp, line 138: namespace boost
  + C:\boost\boost\boost/iterator_adaptors.hpp, line 560: namespace detail
  + C:\boost\boost\boost/iterator_adaptors.hpp, line 691: decision to instantiate: 
iterator_adaptor_traits_gen
  + --- Resetting parser context for instantiation...
  + ..\src\exception.cpp, line 21: #include 
C:\boost\boost\boost\filesystem\exception.hpp
  + C:\boost\boost\boost\filesystem\exception.hpp, line 23: #include 
C:\boost\boost\boost/filesystem/path.hpp
  + C:\boost\boost\boost/filesystem/path.hpp, line 16: #include 
C:\boost\boost\boost/iterator_adaptors.hpp
  + C:\boost\boost\boost/iterator_adaptors.hpp, line 138: namespace boost
  + C:\boost\boost\boost/iterator_adaptors.hpp, line 560: namespace detail
  + C:\boost\boost\boost/iterator_adaptors.hpp, line 640: decision to instantiate: 
make_arg
  + --- Resetting parser context for instantiation...
  + ..\src\exception.cpp, line 21: #include 
C:\boost\boost\boost\filesystem\exception.hpp
  + C:\boost\boost\boost\filesystem\exception.hpp, line 23: #include 
C:\boost\boost\boost/filesystem/path.hpp
  + C:\boost\boost\boost/filesystem/path.hpp, line 16: #include 
C:\boost\boost\boost/iterator_adaptors.hpp
  + C:\boost\boost\boost/iterator_adaptors.hpp, line 124: #include 
C:\boost\boost\boost/compressed_pair.hpp
  + C:\boost\boost\boost/compressed_pair.hpp, line 20: #include 
C:\boost\boost\boost/detail/compressed_pair.hpp
  + C:\boost\boost\boost/detail/compressed_pair.hpp, line 23: #include 
C:\boost\boost\boost/type_traits/object_traits.hpp
  + C:\boost\boost\boost/type_traits/object_traits.hpp, line 18: #include 
C:\boost\boost\boost/type_traits/has_trivial_assign.hpp
  + C:\boost\boost\boost/type_traits/has_trivial_assign.hpp, line 15: #include 
C:\boost\boost\boost/type_traits/is_pod.hpp
  + C:\boost\boost\boost/type_traits/is_pod.hpp, line 15: #include 
C:\boost\boost\boost/type_traits/is_scalar.hpp
  + C:\boost\boost\boost/type_traits/is_scalar.hpp, line 14: #include 
C:\boost\boost\boost/type_traits/is_enum.hpp
  + C:\boost\boost\boost/type_traits/is_enum.hpp, line 17: #include 
C:\boost\boost\boost/type_traits/is_convertible.hpp
  + C:\boost\boost\boost/type_traits/is_convertible.hpp, line 32: namespace boost
  + C:\boost\boost\boost/type_traits/is_convertible.hpp, line 195: decision to 
instantiate: is_convertible
  + --- Resetting parser context for instantiation...
  + ..\src\exception.cpp, line 21: #include 
C:\boost\boost\boost\filesystem\exception.hpp
  + C:\boost\boost\boost\filesystem\exception.hpp, line 23: #include 
C:\boost\boost\boost/filesystem/path.hpp
  +