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/55007] New: WIN32, _WIN32, etc not defined in fortran


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

             Bug #: 55007
           Summary: WIN32, _WIN32, etc not defined in fortran
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: earnie@users.sourceforge.net


The series of predefined variables defining the _WIN32 environment is not
defined in fortran.

gcc -E -dM nul.f | grep -i win

Produces an empty result

Expected:
#define _WIN32 1
#define __WINT_MAX__ 65535
#define __WINT_MIN__ 0
#define __WIN32 1
#define __WINNT 1
#define __WINNT__ 1
#define __WIN32__ 1
#define __SIZEOF_WINT_T__ 2
#define WIN32 1
#define __WINT_TYPE__ short unsigned int
#define WINNT 1


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