Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#11831 closed Bugs (fixed)

clang-cl fails in type_with_alignment.hpp

Reported by: Yaron Keren <yaron.keren@…> Owned by: John Maddock
Milestone: To Be Determined Component: type_traits
Version: Boost 1.59.0 Severity: Problem
Keywords: Cc:

Description

Need to add

defined(__clang__)

to line 179

#if defined(__GNUC__) || (defined (__SUNPRO_CC) &&  (__SUNPRO_CC >= 0x5130)) || defined(__clang__)
namespace tt_align_ns {
struct __attribute__((__aligned__(2))) a2 {};
struct __attribute__((__aligned__(4))) a4 {};

Change History (2)

comment:1 by John Maddock, 7 years ago

Resolution: fixed
Status: newclosed

comment:2 by Yaron Keren <yaron.keren@…>, 7 years ago

Thanks, very similar bug is 11821:

https://svn.boost.org/trac/boost/ticket/11821

Note: See TracTickets for help on using tickets.