From: SourceForge.net <no...@so...> - 2007-10-01 14:35:46
|
Bugs item #1805710, was opened at 2007-10-01 07:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1805710&group_id=599 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: C-Front End Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: can't init const function poins with NULL Initial Comment: typedef struct Foo_ { void (*f)(); } Foo; This doesn't work: const Foo foo = {NULL}; But this works: const Foo foo = {0}; ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=1805710&group_id=599 |