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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #33008: autogsdoc fails to parse functions with __attribute__

Submitted by:  Quentin Mathé <qmathe>
Submitted on:  Wed 06 Apr 2011 05:47:49 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

Thanks a lot Richard, it works just fine now.

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

Thanks ... should be fixed in svn.

Richard Frith-Macdonald <CaS>
Project 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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 07 Apr 2011 09:34:45 AM UTCqmatheOpen/ClosedIn Test=>Closed
    Wed 06 Apr 2011 07:50:15 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1