home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!news.larc.nasa.gov!air54.larc.nasa.gov!dpb
- From: dpb@air54.air54 (David P. Boerschlein)
- Subject: Re: Strange behavior with gcc 2.0 (bug?)
- In-Reply-To: panetta@cithe503.cithep.caltech.edu's message of Thu, 27 Aug 1992 07:59:45 GMT
- Message-ID: <DPB.92Aug27093542@air54.air54>
- Sender: news@news.larc.nasa.gov (USENET Network News)
- Organization: NASA Langley Research Center
- References: <BtMGyz.52A@me.utoronto.ca>
- <MCGRANT.92Aug26232210@rascals.stanford.edu>
- <9224017.22289@mulga.cs.mu.OZ.AU>
- <1992Aug27.075945.21285@cco.caltech.edu>
- Date: Thu, 27 Aug 1992 14:35:42 GMT
- Lines: 25
-
-
-
- This is an alignment problem. Try one of the following:
-
- (*) instead of cout << (long double) i << " " << (long double) i,
- try:
- cout << (long double) i << " ";
- cout << (long double) i ...
-
- (*) check your compiler switch options for an option that relaxes
- the requirement that a double be aligned on a double-word boundary.
-
-
- --
- ___
- | \ . |
- | | __ __|
- | | __| \ / | / |
- (_|____/ |__| \/ | \__|
-
- David Boerschlein
- dpb@air16.larc.nasa.gov
- MS 130
- NASA LaRC
- Hampton, VA 23681
-