Opened 6 years ago

Closed 6 years ago

#6636 closed Patches (fixed)

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

Reported by: dimitry@… Owned by: John Maddock
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.

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by dimitry@…

Attachment: clang-long-long-1.diff added

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

comment:1 Changed 6 years ago by John Maddock

Resolution: fixed
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.