Re: Robust detection of endianness at compile time.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Lee Rhodes" <lee@xxxxxxxxx> writes:
>   Alas, the reinterpret-cast produces an "invalid reinterpret_cast" compile
> error (is this possibly a bug?).

That is sort of weird -- my impression was that reinterpret_cast was
_always_ valid as it didn't change type attributes
(e.g. const/volatile), and maintained certain necessary invariants like
both types being scalars or whatever...

No?

-Miles

-- 
Quidquid latine dictum sit, altum viditur.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux