| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Sun, 3 Sep 2000 21:20:05 -0700 (PDT) |
| From: | Bruce E Rosen <rosen AT CS DOT UCLA DOT EDU> |
| To: | cygwin AT sources DOT redhat DOT com |
| cc: | Bruce E Rosen <rosen AT CS DOT UCLA DOT EDU> |
| Subject: | g++ compiled code using cout results in a stackdump |
| In-Reply-To: | <Pine.SOL.4.10.10009032059310.5883-100000@kiwi.cs.ucla.edu> |
| Message-ID: | <Pine.SOL.4.10.10009032118460.6195-100000@kiwi.cs.ucla.edu> |
| MIME-Version: | 1.0 |
I am compiled the simple hello world program (a.cpp) in C++:
#include <iostream>
void main()
{
cout << "Hello World\n";
}
compiled it.
g++ a.cpp
and the following output was produced when run:
a.exe
0 [main] A 1185 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
8012 [main] A 1185 stackdump: Dumping stack trace to A.EXE.stackdump
The problem is the iostream. (Using gdb, I had tracked the problem down
to the cout statment from a much larger program). g++ had worked
previously, but now now (after the most recent updates) Im running g++
version 2.95.2, on the most recent version of cygwin (I've installed all
the updates using setup.exe) on Windows98.
I tried uninstalling and reinstalling gcc, but there was no change. Any
help, hints, etc would be appreciated.
thanks
bruce
Diagnostic info:
PATH=/usr/local/bin:/usr/bin:/usr/bin:/usr/bin:/USR/LOCAL/BIN:/usr/bin:/WINDOWS/
DESKTOP/BIN:.:/WINDOWS:/WINDOWS:/WINDOWS/COMMAND:/usr/bin:/usr/bin:/USR/LOCAL/BI
N:/WINDOWS/DESKTOP/BIN/VIM/VIM56:/Windows/Desktop/bin/vim/vim56:/jdk1.2.2/bin
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |