[sigc] Re: libsigc++ problem with sun cc 5.7



> Excellent, that patch works for me, thanks.

Great. We really need to make a real test case for configure.

> Laca
>
> On Thu, 2005-11-17 at 08:45 +0100, Murray Cumming wrote:
>> Hi, could you please add details here, if necessay:
>> http://bugzilla.gnome.org/show_bug.cgi?id=302098
>>
>> Maybe the patch will be a suitable workaround for you.
>>
>>
>> > Hi Murray,
>> >
>> > I'm trying to compile libsigc++-2.0.16 on Solaris x86 using
>> > Sun Studio 10 and having problems with signal.h.
>> > I commented out the SIGC_TYPEDEF_REDEFINE_ALLOWED thingie
>> > but it's still complaining:
>> >
>> > /jds/vulcan-0107/SUNWspro/bin/CC  -I. -I. -I.. -I.. -I..    -i -xO3
>> > -xspace -pentium -mr -norunpath -xregs=no%frameptr -c -o test_signal.o
>> > test_signal.cc
>> > "../sigc++/signal.h", line 1772: Error: Too many arguments for
>> template
>> > sigc::slot<int, int, sigc::nil, sigc::nil, sigc::nil, sigc::nil,
>> > sigc::nil, sigc::nil>.
>> > "../sigc++/signal.h", line 2711:     Where: While specializing
>> > "sigc::signal1<int, int, sigc::signal<int, int, sigc::nil, sigc::nil,
>> > sigc::nil, sigc::nil, sigc::nil, sigc::nil>::T_accumulator>".
>> > "../sigc++/signal.h", line 2711:     Where: Specialized in
>> > sigc::signal<int, int, sigc::nil, sigc::nil, sigc::nil, sigc::nil,
>> > sigc::nil, sigc::nil>.
>> > "test_signal.cc", line 29:     Where: Specialized in non-template
>> code.
>> > "../sigc++/signal.h", line 1772: Error: Too many arguments for
>> template
>> > sigc::slot<void, std::string &, sigc::nil, sigc::nil, sigc::nil,
>> > sigc::nil, sigc::nil, sigc::nil>.
>> > "../sigc++/signal.h", line 2711:     Where: While specializing
>> > "sigc::signal1<void, std::string &, sigc::signal<void, std::string &,
>> > sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil,
>> > sigc::nil>::T_accumulator>".
>> > "../sigc++/signal.h", line 2711:     Where: Specialized in
>> > sigc::signal<void, std::string &, sigc::nil, sigc::nil, sigc::nil,
>> > sigc::nil, sigc::nil, sigc::nil>.
>> > "test_signal.cc", line 49:     Where: Specialized in non-template
>> code.
>> > 2 Error(s) detected.
>> >
>> > To be honest this template stuff is Greek to me, any idea what's
>> > going on?
>> >
>> > Thanks,
>> > Laca
>> >
>> >
>> >
>>
>>
>> Murray Cumming
>> murrayc murrayc com
>> www.murrayc.com
>> www.openismus.com
>>
>
>


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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