tinycc-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Tinycc-devel] [bug] macro else interfered before comment block
From
:
Jinuk Park
Subject
:
[Tinycc-devel] [bug] macro else interfered before comment block
Date
:
Thu, 16 May 2024 09:53:20 +0900
when comment block before #else, tcc is not cognition #else.
example source code :
#include <stdio.h>
#define notfound
int main()
{
#ifdef found
puts("hello found");
/*comment*/ #else
puts("hello");
#endif
}
exception code : (gcc/cl)
hello
result by tcc
<nothing printed>
ifdef and endif is working fine with comment block, but only else confused.
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
[Tinycc-devel] [bug] macro else interfered before comment block
,
Jinuk Park
<=
Prev by Date:
Re: [Tinycc-devel] RFC: Colored warnings/errors ?
Next by Date:
Re: [Tinycc-devel] RFC: Colored warnings/errors ?
Previous by thread:
[Tinycc-devel] RFC: Colored warnings/errors ?
Next by thread:
[Tinycc-devel] full OS self-hosting with TinyCC (was: Tiny C Compiler as a part of a "verifiable build bootstrap" project)
Index(es):
Date
Thread