[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 300155] New: problem recognizing variadic macro
From:       Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date:       2012-05-16 19:01:42
Message-ID: bug-300155-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=300155

            Bug ID: 300155
          Severity: normal
           Version: 4.3.0
          Priority: NOR
          Assignee: kdevelop-bugs@kdevelop.org
           Summary: problem recognizing variadic macro
    Classification: Unclassified
                OS: Linux
          Reporter: mw_triad@users.sourceforge.net
          Hardware: Fedora RPMs
            Status: NEW
         Component: cpp-parser
           Product: kdevelop

KDevelop does not recognize this variadic macro:

#define LOG_ERROR(fmt, args... ) fprintf(stderr, fmt, ##args);

Specifically, the parser appears to be confused by the space between "..." and
")". This is reproducible with other, similar macros, following the same
pattern:
  no space => macro is recognized
  space => macro is not recognized

Non-variadic macros with spaces in the declaration are recognized as expected.

Reproducible: Always

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic