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.
test.h: ============================================================================ static inline int foo() { const char *s = "== " PRIx32 " =="; if (printf("== "PRIx32" ==\n")) { // unresolved identifier return 0; } return 0; } ============================================================================ main.cpp: ============================================================================ #include <cstdio> #include <inttypes.h> #include "test.h" int main() { foo(); return 0; } ============================================================================ If apt.use.clank=false, then I see unresolved identifier in test.h.
reduced to # define PRIx32 "x" static inline int foo() { const char *s = "== " PRIx32; const char *p = "== "PRIx32; // not HLed as macro }