Re: [sigc] Error building CVS on Solaris 9 with Sun v5.5 C++ compiler



Am 20.08.2004 09:17:59 schrieb(en) Martin Schulze:
Am 20.08.2004 00:38:13 schrieb(en) Albert Chin:
While building CVS on Solaris 9 with the Sun C++ v5.5 compiler:
  $ CC -V
  CC: Sun C++ 5.5 Patch 113817-07 2004/03/23
  ...
CC -I. -I. -I.. -I.. -I.. -xO2 -xtarget=generic -xarch=v8 -c - o test_lambda.o `test -f 'test_lambda.cc' || echo './'`test_lambda. cc
  "../sigc++/reference_wrapper.h", line 80: Error: Cannot cast from
  const char* to sigc::const_reference_wrapper<char[2]>.
  1 Error(s) detected.

This means you have access to a Sun machine? Cool!
When you comment out the lines in test_lambda.cc containing 'sigc:: ref("\n")' this error will vanish.

You will get a different error when test_compatibility.cc is compiled. I didn't have the time to fix these things in cvs, yet (no cvs access from here, no time at home). It's just removing a 'const' keyword - see test tarball

 http://www.hippogriff.de/libsigc++-2.0.4-test5.tar.gz

It would be great if you committed this change to cvs, too!

Done.

 Martin



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