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.
Hello, Let's have a declaration: struct sigaction sa; For the partial expression of "sa." only sa_mask and sa_flags are proposed. No proposals for the union which contains sa_handler and sa_sigaction. And if I enter manually "sa.sa_sigaction = NULL;" - "sa_sigaction" expression part is underlined with red. The code is compilable anyway: ------------------------------- #include <cstdlib> #include <signal.h> int main(int argc, char** argv) { struct sigaction sa; sa.sa_sigaction = NULL; std::exit(0); } -------------------------------
*** Bug 191391 has been marked as a duplicate of this bug. ***
sa_handler and sa_sigaction are macros. So in sa.sa_sigaction they are used after dot. if this situation is common we should add macros to completion list. but it will have side effect - "sa.e|" completion list will have all macros started from 'e' like "EXIT_FAILURE", that's false positive. I don't think that it's common situation. Vladimir, what do you think about this?