[cc65] Initializing named struct fields

Date view Thread view Subject view

From: Piotr Fusik (P.Fusik_at_elka.pw.edu.pl)
Date: 2003-01-05 22:48:43


Hi,

struct s {
	int f1;
	char f2;
};
struct s x = {
	.f2 = 5,
	.f1 = 10
};

Is it a gcc extension or what? It's not supported by cc65.

Bye,
Piotr

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-01-05 22:49:15 CET