Mail Archives: cygwin/1997/02/28/16:44:14
// 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 DOT westlund AT stockholm DOT mail DOT telia DOT 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 AT cygnus DOT com" with one line of text: "help".
- Raw text -