tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Compound literals not working in function calls


From: David Mertens
Subject: [Tinycc-devel] Compound literals not working in function calls
Date: Wed, 14 Dec 2016 23:30:37 -0500

Here is a simple implementation of named arguments in a function call:

http://stackoverflow.com/questions/2826128/variadic-functions-and-arguments-assignment-in-c-c/2828263#2828263

This relies on compound literals, which I thought tcc supported. For example, see http://repo.or.cz/tinycc.git/blob/HEAD:/tests/tcctest.c#l1407; see also line 1447 in the same file.

Is this something that used to work and somehow slipped? Shall I run git bisect on it?

David

--
 "Debugging is twice as hard as writing the code in the first place.
  Therefore, if you write the code as cleverly as possible, you are,
  by definition, not smart enough to debug it." -- Brian Kernighan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]