Project

General

Profile

Actions

Bug #1615

closed

Build error in asn_ext.cpp with gcc 4.8

Added by Junxiao Shi almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Base
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

../src/encoding/cryptopp/asn_ext.cpp: In function ‘void ndn::BERDecodeTime(CryptoPP::BufferedTransformation&, ndn::time::system_clock::TimePoint&)’:
../src/encoding/cryptopp/asn_ext.cpp:62:5: error: ‘result’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (boost::lexical_cast<int>(str.substr(0,2)) < 50)
     ^
cc1plus: all warnings being treated as errors
Actions

Also available in: Atom PDF