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 ada/30094] New: bogus use of CROSS_COMPILE in adaint.c


adaint.c contains several lines like

#if defined (_WIN32) && ! defined (__vxworks) && ! defined (CROSS_COMPILE)

which, although completely uncommented, appear to be trying to detect whether
or not the system has an _tfopen function or an fopen function.  The function
is present on the target system independent of whether this file is being
compiled on the target system or on, say, a linux system, so testing
CROSS_COMPILE here is inappropriate.


-- 
           Summary: bogus use of CROSS_COMPILE in adaint.c
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: geoffk at gcc dot gnu dot org


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


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