|
From: | Harald Arnesen |
Subject: | Re: [Tinycc-devel] bug in preprocessor |
Date: | Fri, 19 Jan 2024 11:26:42 +0100 |
User-agent: | Mozilla Thunderbird |
Fred van Kempen via Tinycc-devel [18/01/2024 21.35]:
This: #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { #ifdef FOO printf("Foo: %s\n", argv[0]); #endif bar return argc; } should not compile, for obvious reasons, but it does.. Using 0.28rc.
It also compiles, with a warning, both with GCC (13.2.0) and Clang (15.0.7). -- Hilsen Harald
[Prev in Thread] | Current Thread | [Next in Thread] |