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.
#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)
Fixed in http://hg.netbeans.org/cnd-main/rev/b882085347e1
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
verified in builds on enum server
Verified in NetBeans 8.1 with latest updates.