[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 200289] New: parser has problems with variadic macros
From: Armin Berres <trigger () space-based ! de>
Date: 2009-07-15 10:35:39
Message-ID: bug-200289-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=200289
Summary: parser has problems with variadic macros
Product: kdevelop
Version: unspecified
Platform: Compiled Sources
OS/Version: unspecified
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: trigger@space-based.de
Version: (using KDE 4.2.96)
Installed from: Compiled From Sources
The syntax parser complains about this perfectly valid code snippet:
#define eprintf(format, ...) fprintf(stderr, format, ##__VA_ARGS__)
eprintf("");
The problem seems, that it does not know how to handle the "##" correctly,
because if they are removed, it is happy.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- 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