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.
Currently the editor claims that "__attribute((constructor))" is a syntax error. Although this isn't standard C, it is accepted under GCC at least. Would it be possible to make the editor ignore __attribute's?
Could you, please, provide complete sample code. We support attributes in most cases. Thanks, Vladimir
Created attachment 141510 [details] Syntax error on attribute Hovering the mouse over the error icon reads Unable to resolve identifier __attribute__ Unable to resolve identifier constructor This is in a C source file on Dev 20131008. The project is defined as using C99. The same occurs with extern "C" __attribute((constructor)) void Initialise() { } In a C++ source file. Forcing a code-assistance reparse makes the error go away, but restarting NetBeans causes the syntax error to reappear.