This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
bootstrap/6593: configure fails to recognize single argument gettimeofday() functions
- From: sdack at anitesystems dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 7 May 2002 13:58:21 -0000
- Subject: bootstrap/6593: configure fails to recognize single argument gettimeofday() functions
- Reply-to: sdack at anitesystems dot de
>Number: 6593
>Category: bootstrap
>Synopsis: configure fails to recognize single argument gettimeofday() functions
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 07 07:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Sven Dack
>Release: gcc-2.95.3 & gcc-3.0.4
>Organization:
>Environment:
m88k-motorola-sysv4
>Description:
Two source files, don't know which ones right know, make use of gettimeofday(). But the version of gettimeofday() I got only accepts one argument and doesn't even take a second argument (which is the timezone usually, but that gets passed a NULL pointer anyways).
>How-To-Repeat:
Try building gcc-2.95.3 & gcc-3.0.4 on a m88k SVR4 machine from Motorola. And try to have fun!!
>Fix:
Let 'configure' either check for single argument gettimeofday() functions as well or pretend they are broken and undefine HAVE_GETTIMEOFDAY in these cases.
>Release-Note:
>Audit-Trail:
>Unformatted: