[Boost-bugs] [Boost C++ Libraries] #3305: BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS should be defined for gcc 3.4.x

Subject: [Boost-bugs] [Boost C++ Libraries] #3305: BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS should be defined for gcc 3.4.x
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-07-30 16:22:43


#3305: BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS should be defined for gcc
3.4.x
-------------------------------------+--------------------------------------
 Reporter: cschmidt | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: config
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 The attached piece of code fails to compile under gcc 3.4.2 (MinGW
 official).
 Output:

 test.cpp:3:3: #error BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS not
 defined!
 test.cpp: In function `int main()':
 test.cpp:13: error: call of overloaded `F(const int&)' is ambiguous
 test.cpp:6: note: candidates are: void F(C&) [with int i = 0, C = const
 int]
 test.cpp:7: note: void F(const C&) [with int i = 0, C =
 int]

 I think BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS should be defined
 for this compiler version. At the moment, Boost.Config just defines
 BOOST_NO_EXPLICIT_FUNCTION_TEMPLATE_ARGUMENTS for gcc 3.1.x and 3.2.x .

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3305>
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:00 UTC