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 254476 - '%%' hides errors in printf()
Summary: '%%' hides errors in printf()
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-18 09:55 UTC by soldatov
Modified: 2015-08-20 01:27 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 2015-08-18 09:55:31 UTC
#include <stdio.h>

int main(int argc, char** argv) {
    int x = 0;
    printf("Value %d\n", &x); // red line (ok)
    printf("%% Value %d\n", &x); // red line doesn't appear (bug)
    return 0;
}
Comment 1 danilasergeyev 2015-08-19 12:02:29 UTC
fixed, change set:
https://hg.netbeans.org/cnd-main/rev/b17b943dbb00
Comment 2 Quality Engineering 2015-08-20 01:27:06 UTC
Integrated into 'main-silver', will be available in build *201508200002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b17b943dbb00
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #254476 '%%' hides errors in printf()