Ticket #6636 (closed Patches: fixed)

Opened 5 years ago

Last modified 5 years ago

Add BOOST_HAS_LONG_LONG to boost/config/compiler/clang.hpp

Reported by: dimitry@… Owned by: johnmaddock
Milestone: To Be Determined Component: config
Version: Boost Development Trunk Severity: Problem
Keywords: clang Cc:


For some reason, boost/config/compiler/clang.hpp has the comment 'Clang supports "long long" in all compilation modes.', but it still does *not* define BOOST_HAS_LONG_LONG!

This causes various problems in boost/cstdint.hpp, when you actually try to use any of the boost headers (in particular, it ends up erroring on one of the "defaults not correct; you must hand modify boost/cstdint.hpp" lines).

Fix this by adding BOOST_HAS_LONG_LONG to boost/config/compiler/clang.hpp.


clang-long-long-1.diff (416 bytes) - added by dimitry@… 5 years ago.
Add BOOST_LONG_LONG to boost/config/compiler/clang.hpp

Change History

Changed 5 years ago by dimitry@…

Add BOOST_LONG_LONG to boost/config/compiler/clang.hpp

comment:1 Changed 5 years ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to fixed

(In [77147]) Set BOOST_HAS_LONG_LONG for Clang in case it doesn't get auto-detected later. Fixes #6636.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.