This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients larry, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2015-02-25.16:33:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Not sure how helpful this is, but the following code compiles fine for me (VC 12.0 and 14.0):

#include <stdio.h>

char myStr[];
struct { char* a; } myStruct = { myStr };

int main() {
    printf("%s", myStruct.a);
    return 0;

static char myStr[] = "123456789";

Any reason you can't define the forward definition like this? (It only seems to work with myStr[] and not *myStr, for some reason.)
Date User Action Args
2015-02-25 16:34:00steve.dowersetrecipients: + steve.dower, larry, tim.golden, zach.ware, serhiy.storchaka
2015-02-25 16:34:00steve.dowersetmessageid: <>
2015-02-25 16:34:00steve.dowerlinkissue20323 messages
2015-02-25 16:33:59steve.dowercreate