This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37224] Request for C string literal syntax
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2008 19:45:36 -0000
- Subject: [Bug fortran/37224] Request for C string literal syntax
- References: <bug-37224-14229@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from jvdelisle at gcc dot gnu dot org 2008-08-24 19:45 -------
gfortran does have -fbackslash that enables c-style interpretation of backslash
characters in strings.
With the Intel approach, the code will not compile without error by a standard
conforming compiler. I would not consider that portable at all.
At least with gfortran, the program will compile with or without the
-fbackslash.
I am sure there are more portable ways to accomplish these things.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37224