home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / cplus / 12962 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.2 KB  |  41 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!news.larc.nasa.gov!air54.larc.nasa.gov!dpb
  3. From: dpb@air54.air54 (David P. Boerschlein)
  4. Subject: Re: Strange behavior with gcc 2.0 (bug?)
  5. In-Reply-To: panetta@cithe503.cithep.caltech.edu's message of Thu, 27 Aug 1992 07:59:45 GMT
  6. Message-ID: <DPB.92Aug27093542@air54.air54>
  7. Sender: news@news.larc.nasa.gov (USENET Network News)
  8. Organization: NASA Langley Research Center
  9. References: <BtMGyz.52A@me.utoronto.ca>
  10.     <MCGRANT.92Aug26232210@rascals.stanford.edu>
  11.     <9224017.22289@mulga.cs.mu.OZ.AU>
  12.     <1992Aug27.075945.21285@cco.caltech.edu>
  13. Date: Thu, 27 Aug 1992 14:35:42 GMT
  14. Lines: 25
  15.  
  16.  
  17.  
  18. This is an alignment problem.   Try one of the following:
  19.  
  20.     (*) instead of cout << (long double) i << " " << (long double) i,
  21.         try:
  22.             cout << (long double) i << " ";
  23.             cout << (long double) i ...
  24.  
  25.     (*) check your compiler switch options for an option that relaxes
  26.         the requirement that a double be aligned on a double-word boundary.
  27.  
  28.  
  29. --
  30.    ___
  31.   |    \             .      |
  32.   |     |  __             __|
  33.   |     |  __| \  /  |   /  |
  34. (_|____/  |__|  \/   |   \__|
  35.  
  36. David Boerschlein
  37. dpb@air16.larc.nasa.gov
  38. MS 130
  39. NASA LaRC
  40. Hampton, VA 23681
  41.