
Hello when testing some regression errors I updated my second local copy from anonymous CVS @ sf.net (first copy is always from meta-comm and is producing regression tests you can see on www.meta-comm.com). Then I started running some tests, and received many errors similar to following: (vc71) boost\noncopyable.hpp(32) : error C2371: 'boost::noncopyable' : redefinition; different basic types boost\utility_fwd.hpp(26) : see declaration of 'boost::noncopyable' boost\test\unit_test_log.hpp(138) : error C2504: 'boost::noncopyable' : base class undefined (como-win32-4.3.3-vc7.1) boost/noncopyable.hpp", line 32: error #256: invalid redeclaration of type name "boost::noncopyable" (declared at line 26 of "boost/utility_fwd.hpp") typedef noncopyable_::noncopyable noncopyable; ^ I then took archived boost.tar.bz2 from meta-comm (boost-04-08-18-1200) and found the same error in this archive. Fortunatelly I also have older copy of this archive (boost-04-08-18-0600) and this archive is currently used to produce regression tests you will see soon - without error mentioned above. Apparently boost::noncopyable (or test unit?) got broken somewhere between Aug 18th 06:00 and Aug 18th 12:00 (I do not know what timezone) and this will produce many errors in next regression tests run. Unless it's quickly fixed. B.

Bronek Kozicki wrote:
Apparently boost::noncopyable (or test unit?) got broken somewhere
No longer "apparently". It's definitely broken: boost/utility_fwd.hpp contains (among other things): namespace boost { // From <boost/noncopyable.hpp> --------------------------------------------// class noncopyable; } // namespace boost while boost/noncopyable.hpp contains: namespace boost { namespace noncopyable_ // protection from unintended ADL { class noncopyable { protected: noncopyable() {} ~noncopyable() {} private: // emphasize the following members are private noncopyable( const noncopyable& ); const noncopyable& operator=( const noncopyable& ); }; } typedef noncopyable_::noncopyable noncopyable; } // namespace boost I'm pretty sure that it's not valid C++ . B.
participants (2)
-
Aleksey Gurtovoy
-
Bronek Kozicki