This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Interoperability with C int128_t type?
- From: FX Coudert <fxcoudert at gmail dot com>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: Sa Liu <SALIU at de dot ibm dot com>, Fortran List <fortran at gcc dot gnu dot org>
- Date: Mon, 17 Mar 2008 20:30:01 +0000
- Subject: Re: Interoperability with C int128_t type?
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; bh=S4YUljc9wLA0JfkdLdmgqL9TFAFwdmGGHkFtSSCMNPU=; b=tHlx2PNLbigh6OyFKkaGePmB81qJ9Z6RLEPrpxwwoXLdjbnXJnwXt57wojkgbo3+3biAZm5HvOC8nKLorFJuAuFPtDxOFIk4804B+KVIt3NAPYcXXqnQNzjkW8kKCqLGP/sz9tW/syY2cgkZEJbAo/tEspFmeEunyNa6vy5FiO0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=waISWwt/mTvhDVqN1jNivFDbwCrvIjvBG4iyuyQxDfHk7BubNq8dUemLIN3j2Qj7ASsf5vVA43O5tLU8HfV8Pe8hx87vV4e9LlpZ00JaPv8EeOQKZsDP9wCTysUCfe6ztAL7FBN0fUqUzZW1zvsW4cl+/Mc26KIHs2uRoIx2FJA=
- References: <OF6358FAF6.812C4800-ONC125740F.00674AAE-C125740F.00683ECF@de.ibm.com> <47DEC750.3050705@net-b.de>
It should be ok. The name is allowed by C99 (though not required)
and not ambiguous. However, one could add a note in the source file
and it should be documented in http://gcc.gnu.org/onlinedocs/
gfortran/Intrinsic-Modules.html
It should of course be marked as an extension, and rejected when
standards-checking is enabled.
FX
--
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/