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.
IDE recognizes size_t and ptrdiff_t, but editor fails on size_t* and ptrdiff_t*. #include <stdio.h> #include <stddef.h> int main() { size_t st = sizeof(int); ptrdiff_t pt = 1; size_t* pst = &st; ptrdiff_t* ppt = &pt; printf("%zu %td", st, pt); // ok printf("%zn %tn\n", pst, ppt); // error return 0; }
fixed in change set: https://hg.netbeans.org/cnd-main/rev/503e35474230
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/503e35474230 User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: fix bug #254580 printf() and size_t*, ptrdiff_t*
Verified. No test failures.