This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/30094] New: bogus use of CROSS_COMPILE in adaint.c
- From: "geoffk at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Dec 2006 20:27:59 -0000
- Subject: [Bug ada/30094] New: bogus use of CROSS_COMPILE in adaint.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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