delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/08/10:47:26

From: hughw AT scoutsys DOT com (Hugh Winkler)
Subject: cc1plus.exe: typo causes STATUS_ACCESS_VIOLATION
8 Sep 1998 10:47:26 -0700 :
Message-ID: <000001bddab0$f8ae1760$0c0aa8c0.cygnus.gnu-win32@harry.scoutsys.com>
Reply-To: <hughw AT scoutsys DOT com>
Mime-Version: 1.0
To: <egcs-bugs AT cygnus DOT com>
Cc: <gnu-win32 AT cygnus DOT com>

// this is file cc1bug.cpp (n.b. bug is for c++ program)
// demonstrates a bug in
// gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
// typo in function name causes STATUS_ACCESS_VIOLATION in cc1plus.exe

// command line was gcc cc1bug.cpp

int foo@(void)         //typo
{
    int hr = 0;
    hr = 0;           //commenting out this line will cause no access
violation
}
//Hugh Winkler
//Scout Systems, Inc.
//hughw AT scoutsys DOT com

-
For help on using this list (especially unsubscribing), 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