This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/37224] Request for C string literal syntax



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]