| www.delorie.com/archives/browse.cgi | search |
| From: | tage DOT westlund AT stockholm DOT mail DOT telia DOT com (Tage Westlund) |
| Subject: | gnu-win32-b17.1 More error message looping |
| 28 Feb 1997 16:44:14 -0800 : | |
| Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
| Distribution: | cygnus |
| Message-ID: | <3316E106.813.cygnus.gnu-win32@stockholm.mail.telia.com> |
| Reply-To: | tage DOT westlund AT stockholm DOT mail DOT telia DOT com |
| Mime-Version: | 1.0 |
| X-Mailer: | Mozilla 3.0 (Win95; I) |
| Original-To: | gnu-win32 AT cygnus DOT com |
| Original-CC: | tage DOT westlund AT stockholm DOT mail DOT telia DOT com |
| Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
// 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".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |