[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-devel
Subject: [Bug 60512] Syntax parser can be fooled by #defines
From: Daniel Franke <daniel.franke () imbs ! uni-luebeck ! de>
Date: 2005-02-08 15:37:53
Message-ID: 20050208153753.15545.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=60512
------- Additional Comments From daniel.franke imbs uni-luebeck de 2005-02-08 16:37 -------
Another try ...
> bug.h
#define BUG_ATTRIBUTES __attribute__ ((noreturn, format (printf, 1, 2)))
void bug(const char *fmt, ...) BUG_ATTRIBUTES;
> bug.c
#include "bug.h"
void bug(const char *fmt, ...) BUG_ATTRIBUTES { // <-- Syntax Error reported
}
_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic