top | item 44428577

(no title)

el_pollo_diablo | 8 months ago

C23 does not change anything in this situation, because we are talking about the definition of main(), not a forward declaration. More details here:

https://news.ycombinator.com/item?id=38729278#38732366

discuss

order

fuhsnn|8 months ago

In what situation fn() doesn't mean fn(void) under C23?

el_pollo_diablo|8 months ago

None, but that is not my point. Before C23, fn() already meant the same thing as fn(void) in function definitions, which the situation under discussion here.

C23 changed what fn() means outside a function definition.