This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gnu-win32-b17.1 More error message looping


//	To Cygnus   gnu-win32-b17.1   Masters! 
//	This program.C, compiled by  g++ -c program.C,
//	will cause an endless loop of error messages:
//	.../cygnus-2,7,2-961023/cc1plus.exe 1048) In cygwin_except_handler
//      if you type "char prompt[]"
//      Modification to "char prompt[100]" gives normal compilation.
//
//	Best Regards!  <tage.westlund@stockholm.mail.telia.com>

main(){
    typedef struct promptTxt{
	char prompt[];
    } promptTxt;

    const promptTxt txtArray[] = {
	{"Text 1\n"},
	{"Text 2\n"}
    };
}
// end of program


-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]