From 4594427620465871173
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f78e5,738ae3371beb3408
X-Google-Attributes: gidf78e5,public
From: Hyman Rosen <hymie@prolifics.com>
Subject: Re: portable method of determining endianness byte order.
Date: 1999/11/19
Message-ID: <t7g0y29ub8.fsf@calumny.jyacc.com>#1/1
X-Deja-AN: 550658614
X-NNTP-Posting-Host: firewall.jyacc.com
Approved: stephen.clamage@sun.com (comp.std.c++)
References: <38329967.470B6CED@hqs.mid.gmeds.com>
X-UID: 0000000001
X-Status: $$$T
X-Complaints-To: abuse@panix.com
X-Trace: news.panix.com 943038120 6428 209.49.126.226 (19 Nov 1999 19:02:00 GMT)
Organization: PANIX Public Access Internet and UNIX, NYC
NNTP-Posting-Date: 19 Nov 1999 19:02:00 GMT
Newsgroups: comp.std.c++
Originator: clamage@taumet


Pukalo Boyd 810-492-3661 <qz3fwd@hqs.mid.gmeds.com> writes:
> I have been trying to find a portable method of determining the
> endianness byte order at compile time

There is no such way. You will need to supply this information
externally, usually as part of the build process.


[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]




