public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: fortran/3681: Problem preprocecisng a fortran source code with cpp
@ 2001-07-13 12:33 aoliva
  0 siblings, 0 replies; 2+ messages in thread
From: aoliva @ 2001-07-13 12:33 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, jmlloren, nobody

Synopsis: Problem preprocecisng a fortran source code with cpp

State-Changed-From-To: open->closed
State-Changed-By: aoliva
State-Changed-When: Fri Jul 13 12:33:58 2001
State-Changed-Why:
    The C preprocessor is designed to preprocess C and C++, not Fortran.  Try cpp -traditional and hope it helps.  If not, look into other preprocessing alternatives, such as m4.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3681&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

* fortran/3681: Problem preprocecisng a fortran source code with cpp
@ 2001-07-13 11:06 jmlloren
  0 siblings, 0 replies; 2+ messages in thread
From: jmlloren @ 2001-07-13 11:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3681
>Category:       fortran
>Synopsis:       Problem preprocecisng a fortran source code with cpp
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 13 11:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     jmlloren@uv.es
>Release:        GNUCPP version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
>Organization:
>Environment:

>Description:
Preprocesing this simple code with cpp 

      program total
 
 
      write(6,'(''Warning specified for '',''optimisation ****'')')
      write(6,'(''  **** A single point energy calculation to '',
     &  ''be performed ****'')')
 
      end

I find the following problem:

1.f:5:66: missing terminating ' character
1.f:6:33: missing terminating ' character

Lines 4 and 5-6 are equal, but the cpp do not recognice the
broken line. When I copile with g77, I don't find any problem.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-13 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-13 12:33 fortran/3681: Problem preprocecisng a fortran source code with cpp aoliva
  -- strict thread matches above, loose matches on Subject: below --
2001-07-13 11:06 jmlloren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).