#5809 closed Bugs (fixed)
BOOST_TYPEOF_SILENT causes failure
Reported by: | oneill1979(at)gmail(dot)com | Owned by: | Douglas Gregor |
---|---|---|---|
Milestone: | To Be Determined | Component: | signals |
Version: | Boost 1.47.0 | Severity: | Problem |
Keywords: | Cc: |
Description
#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 ==========
}}}
Change History (4)
comment:1 by , 11 years ago
comment:2 by , 9 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Boost.Signals is being deprecated. Please transition to Boost.Signals2
comment:3 by , 9 years ago
The problem is with typeof, not signals. I dont know whether that still occurs though. Defining BOOST_TYPEOF_SILENT was a leftover from earlier boost versions which would be quite verbose wrt to typeof details. Might as well be irrelevant now.
comment:4 by , 9 years ago
Resolution: | wontfix → fixed |
---|
Note:
See TracTickets
for help on using tickets.
got the same problem