Modify

Ticket #6636 (closed Patches: fixed)

Opened 2 years ago

Last modified 2 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:

Description

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.

Attachments

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

Change History

Changed 2 years ago by dimitry@…

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

comment:1 Changed 2 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.

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.