BIND 10 #2120: 1LLU is an illegal litteral

BIND 10 Development do-not-reply at isc.org
Thu Jul 5 14:03:50 UTC 2012


#2120: 1LLU is an illegal litteral
-------------------------------------+-------------------------------------
            Reporter:  fdupont       |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  Unclassified  |  Tasks
           Sensitive:  0             |                     Keywords:
         Sub-Project:  Core          |              Defect Severity:  Low
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 in src/lib/dns/tests/rdata_tsig_unittest.cc there is an **1LLU** litteral.
 Unfortunately it is not fully legal so at least one C++ compiler (MSVC)
 rejects it... Of course the correct version is 1ULL.
 cf http://connect.microsoft.com/VisualStudio/feedback/details/308123
 /integral-literal-doesnt-support-llu-suffix for Microsoft reference to the
 standard (or how to not be liberal :-).

-- 
Ticket URL: <http://bind10.isc.org/ticket/2120>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list