bugGNUstep - Bugs: bug #33008, autogsdoc fails to parse functions...

Group
 
 

bug #33008: autogsdoc fails to parse functions with __attribute__

Submitter:  Quentin Mathé <qmathe>
Submitted:  Wed 06 Apr 2011 05:47:49 PM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 07 Apr 2011 09:34:45 AM UTC, comment #2: 

Thanks a lot Richard, it works just fine now.

Quentin Mathé <qmathe>
Group Member
Wed 06 Apr 2011 07:50:15 PM UTC, comment #1: 

Thanks ... should be fixed in svn.

Richard Frith-Macdonald <CaS>
Group Member
Wed 06 Apr 2011 05:47:49 PM UTC, original submission:  

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.

Quentin Mathé <qmathe>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by qmathe (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-04-07 qmathe Open/ClosedIn Test Closed
    2011-04-06 CaS StatusNone Fixed
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code