Project

General

Profile

Actions

Bug #1560

closed

Build error in nfdc.cpp with gcc 4.8

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
Tools
Target version:
Start date:
04/29/2014
Due date:
% Done:

100%

Estimated time:
0.50 h

Description

../tools/nfdc.cpp: In function ‘int main(int, char**)’:
../tools/nfdc.cpp:421:53: error: ‘result’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         p.m_cost =  boost::lexical_cast<int>(optarg);
                                                     ^
cc1plus: all warnings being treated as errors
Actions #1

Updated by Junxiao Shi almost 10 years ago

  • Status changed from New to Code review
Actions #2

Updated by Alex Afanasyev almost 10 years ago

Which platform is it and with which boost?

Actions #3

Updated by Junxiao Shi almost 10 years ago

Ubuntu 14.04 with Boost 1.54

Actions #5

Updated by Junxiao Shi almost 10 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Junxiao Shi almost 10 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF