Opened 9 years ago

Closed 8 years ago

Last modified 8 years ago

#9773 closed Bugs (fixed)

Clang configuration does not set BOOST_HAS_INT128

Reported by: Douglas Gregor Owned by: John Maddock
Milestone: To Be Determined Component: config
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

The Clang configuration (boost/config/compiler/clang.hpp) never sets BOOST_HAS_INT128, even though Clang supports this feature. The fix is to add

Clang has int128 for some targets. #if defined(SIZEOF_INT128) # define BOOST_HAS_INT128 #endif

into the aforementioned file.

Change History (4)

comment:1 by Douglas Gregor, 9 years ago

My apologies for the malformed code. Let's try again:

// Clang has __int128 for some targets.
#if defined(__SIZEOF_INT128__)
#  define BOOST_HAS_INT128
#endif

comment:2 by anonymous, 9 years ago

?? It's already there, line 51??

comment:3 by John Maddock, 8 years ago

Resolution: fixed
Status: newclosed

Doug, I'm closing this since it works for me.

in reply to:  3 comment:4 by anonymous, 8 years ago

The mentioned configuration lines are _not_ in 1.55.0 that this bug was filed against.

If they are there in the repository now, then I take it that means it was fixed even before this bug was processed.

If so, this will be fixed in the next release, but it's not fixed (or "works for me") in the current release.

Note: See TracTickets for help on using tickets.