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.
In Oracle Solaris Studio I see this problem in inactive preprocessor block (see y.tab.c file in LexYacc sample). In NetBeans I see this bug in active block only. ================================================================== #include <cstdio> using namespace std; #if 0 printf( "Error recovery discards " ); // <-- Wrong numbers of arguments (in Oracle Solaris Studio only) #endif int main(int argc, char** argv) { printf( "Error recovery discards" ); // <-- Wrong numbers of arguments return 0; } ==================================================================
fixed in change set: https://hg.netbeans.org/cnd-main/rev/e9c294a4ef70
Integrated into 'main-silver', will be available in build *201508290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e9c294a4ef70 User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: fix bug #254803 printf() and extra spaces