[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
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:54
Message-ID: 20050208153754.15556.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
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
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic