This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
primitive type size
- From: Onorato Vaticone <onorato dot vaticone at gmail dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Thu, 5 Oct 2017 22:31:00 +0100
- Subject: primitive type size
- Authentication-results: sourceware.org; auth=none
Hi all,
I have a question I hope you can help to clarify.
Context: I know Unix/*Linux uses the data model LP64.
http://www.unix.org/version2/whatsnew/lp64_wp.html
I'd like to know if gcc uses the data model information of the underlying
OS to decide the size of the primitive type since the C++ standard does not
dictate any size.
appreciated any help.
/Ono