I have a question about a difference between gcc and g++ in the following: typedef struct { const char *CMD_SERVICE, *CMD_TRANSPORT; } dPavueCnfg; dPavueCnfg dConfig = { .CMD_SERVICE = "DPcmd", .CMD_TRANSPORT = "tcp" }; This works with gcc (on Linux and MinGW). But it does not work in g++. So, is this a GNU C-only extension? Given that it is a GNU extension, it could have been done for both gcc and g++. I am not even sure what this feature is called to be able to search for it! Perhaps this support is defined at compiler build time? -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org