Opened 11 years ago

Closed 11 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:

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 (1)

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

Download all attachments as: .zip

Change History (2)

by dimitry@…, 11 years ago

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

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

comment:1 by John Maddock, 11 years ago

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.