I get the following error when trying to use the filesystem library on MSVC 6.0 : error C2061: syntax error : identifier 'BOOST_DEDUCED_TYPENAME' The line causing the problem is in the \detail\iterator.hpp file: template <class T> type_traits::yes_type is_mutable_iterator_helper(T const*, BOOST_DEDUCED_TYPENAME T::value_type*); I have run a config Test and both BOOST_DEDUCED_TYPENAME and BOOST_NO_DEDUCED_TYPENAME are defined but have no value. Since MSVC 6.0 supports the 'typename' keyword I would think that the declaration above in the iterator.hpp file should use 'typename' rather than BOOST_DEDUCED_TYPENAME. Anyone else experience this problem? ******************************************************************************************* http://www.intec-telecom-systems.com/ This e-mail and any attachments are confidential and may also be privileged and/or copyright material of Independent Technology Systems Limited (or its affiliated companies). If you are not the intended or authorised recipient of this email or have received it in error, please delete it immediately and notify the sender by e-mail. In such a case reading, reproducing, printing or further dissemination of this e-mail is strictly prohibited and may be unlawful. Independent Technology Systems Limited does not represent or warrant that an attachment hereto is free from computer viruses or other defects. The opinions expressed in this e-mail and any of the attachments may be those of the author and are not necessarily those of Independent Technology Systems Limited. ******************************************************************************************
Pete Cilliers
I get the following error when trying to use the filesystem library on MSVC 6.0 :
error C2061: syntax error : identifier 'BOOST_DEDUCED_TYPENAME'
The line causing the problem is in the \detail\iterator.hpp file:
template <class T> type_traits::yes_type is_mutable_iterator_helper(T const*, BOOST_DEDUCED_TYPENAME T::value_type*);
I have run a config Test and both BOOST_DEDUCED_TYPENAME and BOOST_NO_DEDUCED_TYPENAME are defined but have no value.
Clearly not, in the code you're compiling, or you wouldn't see a syntax error about that identifier. It would just melt away into nothing before the parser got to look at it.
Since MSVC 6.0 supports the 'typename' keyword
It barely does. BOOST_DEDUCED_TYPENAME is there (and empty on vc6) because in many contexts it is rejected incorrectly.
I would think that the declaration above in the iterator.hpp file should use 'typename' rather than BOOST_DEDUCED_TYPENAME. Anyone else experience this problem?
I think it's just missing #include
participants (2)
-
David Abrahams
-
Pete Cilliers