On Wed, Oct 01, 2003 at 09:55:22AM -0400, Ronald Florence wrote:
> grep -nH -e type_info *.[Ch]
> ref_inset.C:126:RefInset::type_info RefInset::types[] = {
> ref_inset.h:38:       struct type_info {
> ref_inset.h:46:       static type_info types[];
> 
> Those are the three references I changed to "type_data".

Ok.

> ../../boost/boost/type_traits/is_arithmetic.hpp:14,
>                  from ../../boost/boost/type_traits/is_scalar.hpp:13,
>                  from ../../boost/boost/type_traits/is_POD.hpp:14,
>                  from 
> ../../boost/boost/type_traits/has_trivial_assign.hpp:13,
>                  from 
> ../../boost/boost/type_traits/has_nothrow_assign.hpp:13,
>                  from ../../boost/boost/type_traits.hpp:18,
>                  from ../../boost/boost/detail/iterator.hpp:60,
>                  from ../../boost/boost/array.hpp:26,
>                  from ../../src/bufferparams.h:27,
>                  from ../../src/lyxrc.h:19,
>                  from formulabase.C:27:
> ../../boost/boost/type_traits/is_float.hpp:22: warning: use of `long 
> double'
>    type; its size may change in a future release
> ../../boost/boost/type_traits/is_float.hpp:22: warning: (Long double 
> usage is
>    reported only once for each file.
> ../../boost/boost/type_traits/is_float.hpp:22: warning: To disable this
>    warning, use -Wno-long-double.)
> formulabase.h: In function `void 
> __static_initialization_and_destruction_0(int,
>    int)':
> formulabase.h:32: no matching function for call to 
> `std::type_info::type_info()
>    '
> /usr/include/gcc/darwin/3.1/g++-v3/typeinfo:78: candidates are:
>    std::type_info::type_info(const char*)
> /usr/include/gcc/darwin/3.1/g++-v3/typeinfo:72:
>    std::type_info::type_info(const std::type_info&)
> make[3]: *** [formulabase.lo] Error 1

That's strange.

Just out of curiosity: could you 'implement' the 'missing' constructor
by changing the declaration of

   std::type_info::type_info(const char*)

to 

   std::type_info::type_info(const char* = "strangestuff")

in /usr/include/gcc/darwin/3.1/g++-v3/typeinfo:78 ?

I am pretty sure this won't fix it, but I'd like to see what happens
afterwards ;-)

Andre'

Reply via email to