Define statments in an include file are not preprocessed before a main file is
compile. E.g.

<main.F>
      include "header.h"

      a=1.0

      if (debug) print *,a

<header.h>
#define debug .TRUE.


-- 
           Summary: Define statments in an include file are not
                    preprocessed.
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yonhan dot chong at rolls-royce dot com
 GCC build triplet: i586-pc-mingw32
  GCC host triplet: win32
GCC target triplet: i586-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38353

Reply via email to