This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 267505 - IDE replaces %d on %llo in uint64_t case
Summary: IDE replaces %d on %llo in uint64_t case
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.2
Hardware: PC Solaris
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-09 15:20 UTC by soldatov
Modified: 2016-09-02 01:58 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2016-08-09 15:20:52 UTC
Scenario:
- Create C++11 project
- Add such code:
#include <cstdlib>
#include <stdio.h>

using namespace std;

int main(int argc, char** argv) {
    uint64_t v = 1000ull;
    printf("%d", v);
    return 0;
}

==> "Replace %d with %llo" hint appears
- Select this item
===> In Output tab I see "1750" instead of "1000"
Comment 1 danilasergeyev 2016-09-01 11:09:51 UTC
fixed in change set:
http://hg.netbeans.org/cnd-main/rev/9e5b94013005
Comment 2 Quality Engineering 2016-09-02 01:58:36 UTC
Integrated into 'main-silver', will be available in build *201609020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9e5b94013005
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: Bug #267505 IDE replaces %d on %llo in uint64_t case