URL:
<http://savannah.gnu.org/bugs/?33008>
Summary: autogsdoc fails to parse functions with
__attribute__
Project: GNUstep
Submitted by: qmathe
Submitted on: Wed 06 Apr 2011 05:47:49 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
GNUstep Base r32746 on Linux Ubuntu.
When running autogsdoc, I get the error below when processing a header that
contains the function that follows...
/EtoileFoundation/Headers/Macros.h:30 Unexpected char (s) in declaration
/**
* Cleanup function used for stack-scoped objects.
*/
__attribute__((unused)) static inline void ETStackAutoRelease(void* object)
{
[*(id*)object release];
}
If I remove __attribute__((unused)), autogsdoc reports no error and the
function is visible in the HTML documentation output.
Quentin.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33008>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep