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 258511

Summary: Erroneous mismatching argument types "int" conversion specifier "s" hint
Product: cnd Reporter: MackSix
Component: Code ModelAssignee: petrk
Status: VERIFIED FIXED    
Severity: normal CC: MackSix
Priority: P3 Keywords: REGRESSION
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description MackSix 2016-03-23 21:14:51 UTC
#include <cstdlib>
#include <stdio.h>

using namespace std;

/*
 * 
 */
int main(int argc, char** argv) {

    bool g_drawGammaProgram = true;

    printf("Rendering:\t\t%s\n", g_drawGammaProgram ? "Gamma" : "Linear"); //This line shows erroneous Mismatching the argument types "int" and conversion specifier "s" Hint.

     return 0;

}

Product Version: NetBeans IDE Dev (Build 201603230001)
Java: 1.8.0_74; Java HotSpot(TM) 64-Bit Server VM 25.74-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_74-b02
System: Windows 7 version 6.1 running on amd64; UTF-8; en_US (nb)
Comment 1 petrk 2016-03-25 14:37:06 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/b882085347e1
Comment 2 Quality Engineering 2016-03-26 03:01:57 UTC
Integrated into 'main-silver', will be available in build *201603260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b882085347e1
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #258511 - Erroneous mismatching argument types "int" conversion specifier "s" hint
Comment 3 Vladimir Kvashin 2016-04-15 16:59:48 UTC
verified in builds on enum server
Comment 4 soldatov 2016-04-20 09:37:06 UTC
Verified in NetBeans 8.1 with latest updates.