[sigc] Problem in compiling code on linux Red Hat 9.0



Hi All,

Could anyone guide me on how to get rid of the
following compilation errors on Red Hat linux 9.0. I
am using gcc-3.2.2-5 to compile the libsigc code.

Compilation errors are as follows:

 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:8:   instantiated from
`sigc::lambda<sigc::internal::lambda_select1>'
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_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:8:   instantiated from here
adaptors/lambda/lambda.cc:8: non-constant `
   sigc::is_base_and_derived<sigc::lambda_base,
   sigc::internal::lambda_select1>::value' cannot be
used as template argument



________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]