[sigc] Unable to build libsigc++ 2.0.10
- From: Jacob Mandelson <gnome jlm ofb net>
- To: libsigc-list gnome org
- Subject: [sigc] Unable to build libsigc++ 2.0.10
- Date: Mon, 28 Mar 2005 19:31:48 -0800
Hello,
When I attempt to build libsigc++ 2.0.10, I get errors in lambda.cc:
g++ -DHAVE_CONFIG_H -I.. -I.. -g -O2 -MT lambda.lo -MD -MP -MF .deps/lambda.Tpo -c adaptors/lambda/lambda.cc -fPIC -DPIC -o .libs/lambda.o
../sigc++/type_traits.h: In instantiation of `sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select1>':
adaptors/lambda/lambda.cc:7: instantiated from `sigc::lambda<sigc::internal::lambda_select1>'
adaptors/lambda/lambda.cc:7: instantiated from here
../sigc++/type_traits.h:118: invalid use of undefined type `struct
sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select1>
'
../sigc++/type_traits.h:96: declaration of `struct
sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select1>
'
adaptors/lambda/lambda.cc: In instantiation of `sigc::lambda<sigc::internal::lambda_select1>':
adaptors/lambda/lambda.cc:7: instantiated from here
adaptors/lambda/lambda.cc:7: non-constant `
sigc::is_base_and_derived<sigc::lambda_base,
sigc::internal::lambda_select1>::value' cannot be used as template argument
../sigc++/type_traits.h: In instantiation of `sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select2>':
adaptors/lambda/lambda.cc:8: instantiated from `sigc::lambda<sigc::internal::lambda_select2>'
adaptors/lambda/lambda.cc:8: instantiated from here
../sigc++/type_traits.h:118: invalid use of undefined type `struct
sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select2>
'
../sigc++/type_traits.h:96: declaration of `struct
sigc::is_base_and_derived<sigc::lambda_base, sigc::internal::lambda_select2>
'
And so on and so on.
I've tried the prior versions, 2.0.9 and 2.0.8, but these give the same errors.
This is with g++ 3.2.2 on Linux 2.4.22.
Anyone know what's going on?
-- Jacob
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]