delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/04/04/14:18:16

From: tage DOT westlund AT stockholm DOT mail DOT telia DOT com (Tage Westlund)
Subject: CYGWIN32-b17.1 ERROR MSG LOOP
4 Apr 1997 14:18:16 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33446697.3B02.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-Sender: owner-gnu-win32 AT cygnus DOT com

// To those who make the next and still better cygwin32 version!
// Are my bug reports trivial? Anyhow, here is another endless error
// message loop!
// I use version b17.1 ( 2.7.2-961023 ) and Win95.
// I made:  g++ bug293.C
// Best Regards!    <tage DOT westlund AT stockholm DOT mail DOT telia DOT com>
// - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// Program bug283.C
#include <stream.h>
main(){
	char ch;
	int n10=6;
	switch(n10){
		case 6:
			do{
				if(1){
//					do{ // comment out this 'do'
				// and you will have an endless 
				// error message loop
						cin >> ch;
						if(ch=='e')return 0;
					}while(ch != 's');
				}
			}while(1);
			return 0;
			break;
		case 7:
			break;
	}
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// The error list is:
// bug283.C: In function `int main()':
// bug283.C:24: syntax error before `}'
// bug283.C:26: break statement not within loop or switch
// bug283.C:27: case label `7' not within a switch statement
// (C:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/
//	cygnus-2.7.2-961023/cc1plus.exe 1026) In cygwin_except_handler
// (C:\cygnus\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32/
//	cygnus-2.7.2-961023/cc1plus.exe 1026) In cygwin_except_handler
// (infinitly repeated)

-
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019