[Boost-bugs] [Boost C++ Libraries] #5809: BOOST_TYPEOF_SILENT causes failure

Subject: [Boost-bugs] [Boost C++ Libraries] #5809: BOOST_TYPEOF_SILENT causes failure
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-24 10:01:53


#5809: BOOST_TYPEOF_SILENT causes failure
-----------------------------------------+----------------------------------
 Reporter: oneill1979(at)gmail(dot)com | Owner: dgregor
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: signals
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
-----------------------------------------+----------------------------------
 {{{
 #!cpp
 #pragma once

 #define BOOST_TYPEOF_SILENT // everything is fine without this
 #include <boost/signal.hpp>

 int main()
 {
         return 0;
 }
 }}}

 under msvc90 - 64bit results in,
 {{{
 1>------ Build started: Project: test, Configuration: Release x64 ------
 1>Compiling...
 1>main.cpp
 1>.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error
 C2061: syntax error : identifier 'declval_b'
 1> .\boost-1_47\include\boost/type_traits/common_type.hpp(128) :
 see reference to class template instantiation
 'boost::type_traits_detail::common_type_2<T,U>' being compiled
 1>.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error
 C2059: syntax error : ')'
 1>.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error
 C2146: syntax error : missing ')' before identifier 'type'
 1>.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error
 C3646: 'type' : unknown override specifier
 1>.\boost-1_47\include\boost/type_traits/common_type.hpp(121) : error
 C4430: missing type specifier - int assumed. Note: C++ does not support
 default-int
 1>.\boost-1_47\include\boost/signals/trackable.hpp(163) : warning C4512:
 'boost::signals::detail::bound_objects_visitor' : assignment operator
 could not be generated
 1> .\boost-1_47\include\boost/signals/trackable.hpp(66) : see
 declaration of 'boost::signals::detail::bound_objects_visitor'
 1>test - 5 error(s), 1 warning(s)
 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
 ==========
 }}}
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5809>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC