Re: [Boost-bugs] [Boost C++ Libraries] #11821: clang-cl fails using typeof.hpp

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11821: clang-cl fails using typeof.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-12-06 14:11:20


#11821: clang-cl fails using typeof.hpp
------------------------------------------+-------------------------
  Reporter: Yaron Keren <yaron.keren@…> | Owner: burbelgruff
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: typeof
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+-------------------------

Comment (by Yaron Keren <yaron.keren@…>):

 The fix to boost is to modify typeof.hpp:52 from

 {{{
  #elif defined(__GNUC__)
 }}}

 to

 {{{
  #elif defined(__GNUC__) || defined(__clang__)
 }}}

 taking indeed the "__typeof__" branch before the msvc hacks branch.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11821#comment:1>
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:19 UTC