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.
It will be useful to have a hint which will tells users that format string passed to printf function is not correct, or that function parameters are not match with the format string.
Hint implemented in change sets: https://hg.netbeans.org/cnd-main/rev/8fc14892779d https://hg.netbeans.org/cnd-main/rev/5cfc11ab0a3a
Additional fix: https://hg.netbeans.org/cnd-main/rev/a274bdfb91fb
Integrated into 'main-silver', will be available in build *201508120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8fc14892779d User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: fixed bug #254265 Add functionality for checking printf parameters
additional fix: https://hg.netbeans.org/cnd-main/rev/91711ac1a22d
Integrated into 'main-silver', will be available in build *201508130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a274bdfb91fb User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: Bug #254265 Add functionality for checking printf parameters - additional fix
https://hg.netbeans.org/cnd-main/rev/f101e10c96bc
previous change set is an extra fix
code cleanup: https://hg.netbeans.org/cnd-main/rev/4566872a7c1e
refactored: https://hg.netbeans.org/cnd-main/rev/9cae15839ef3
Integrated into 'main-silver', will be available in build *201508150002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f101e10c96bc User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: bug #254265 printf parameters check - extra fix (add lock)
Add fixes: https://hg.netbeans.org/cnd-main/rev/5899b8e0e9e8
code refactoring: https://hg.netbeans.org/cnd-main/rev/2da1282414ed
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/5899b8e0e9e8 User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: bug #254265 Add functionality for checking printf parameters - add fixes
Integrated into 'main-silver', will be available in build *201508280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7ed9a9fb9b7c User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: bug #254265 printf check - refactoring, traverse references in file
Add flags for the checking mode: -J-Dprintf.check.enable=true/false (true by default) to set up whether printf checks are enabled by default or not -J-Dprintf.check.strict=true/false (false by default) to set up strict checking change set: https://hg.netbeans.org/cnd-main/rev/af7a7f76a660
Integrated into 'main-silver', will be available in build *201509020320* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/af7a7f76a660 User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: bug #254265 checking printf parameters - add flags for checking mode