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.
The following C code compiles fine (with -std=c99) but has much error highlighting in editor: void f1(void *restrict x); // OK void f1(void *restrict x) {} // OK void f2(void *restrict const x); void f2(void *restrict const x) {} void f3(void *__restrict const x); void f3(void *__restrict const x) {} void f4(void *__restrict__ const x); void f4(void *__restrict__ const x) {} int main() { return 0; }
This is still an issue with NB 7.0.1 . In this simple program: #include <stdio.h> #include <stdlib.h> #include <regex.h> int main(int argc, char** argv) { regexec(...); return (EXIT_SUCCESS); } regexec is not recognized by the builtin parser: Invoking "Complete Code..." gives "No suggestion". Invoking "Show Documentation" display nothing. Ctrl-clicking on it does not bring us to the declaration in <regex.h>.
Could the priority be bumped to P3?
works for me (I speak about your case). Which platform and gcc version you uses? Did you use "Reparse Project" context menu item?
(In reply to comment #3) > works for me (I speak about your case). Which platform and gcc version you > uses? Ubuntu 9.10 32-bit GCC 4.4.1-4 > Did you use "Reparse Project" context menu item? Yes.
> (In reply to comment #3) > > Did you use "Reparse Project" context menu item? > Yes. After using "Reparse Project" the squiggly red underline is cleared from "regexec", but still code completion, documentation, parameters tool-tip and ctrl-clicking does not work.
fixed: http://hg.netbeans.org/cnd-main/rev/97cabe2d7f79
Absolutely the same bug appears in current nightly build NetBeans IDE Dev (Build 201502230001)