Subject: [Boost-bugs] [Boost C++ Libraries] #1503: typeof bug (big integral constant)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-06 15:17:23
#1503: typeof bug (big integral constant)
--------------------------+-------------------------------------------------
Reporter: Viper Craft | Owner: burbelgruff
Type: Bugs | Status: new
Milestone: | Component: typeof
Version: Boost 1.34.1 | Severity: Problem
Keywords: |
--------------------------+-------------------------------------------------
Following small piece of code demonstrate problem:
{{{
#include <boost/typeof/typeof.hpp>
int main()
{
const BOOST_AUTO(uid_mask, 0xFFFFFFFFFFL); // # sutation 1
const BOOST_AUTO(type_id_mask, 0xFFFF);
const BOOST_AUTO(res_id_mask, 0xFF);
return 0;
}
}}}
BOOST_AUTO macro produce wrong type 'long', but in situation # 1, it shall
produce 'long long' type instead.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1503>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC