bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #33008] autogsdoc fails to parse functions with __attribute__


From: Quentin Mathé
Subject: [bug #33008] autogsdoc fails to parse functions with __attribute__
Date: Wed, 06 Apr 2011 17:47:50 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/10.04 (lucid) Firefox/3.6.10

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]