Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 3770
Status: resolved
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



Subject: let's fix ..\pTk/tkWinPort.h ... already
for a while now, the extern int gettimeofday(struct timeval *, struct timezone *); line in pTk/tkWinPort.h has been choking the windows compilers, don't you think it's about time we wrap it in an ifndef? I do #ifndef WIN32 extern int gettimeofday(struct timeval *, struct timezone *); #endif
Subject: Re: [cpan #3770] let's fix ..\pTk/tkWinPort.h ... already
To: bug-Tk [...] rt.cpan.org
Date: Thu, 11 Sep 2003 09:50:46 +0100
From: Nick Ing-Simmons <nick [...] ing-simmons.net>
RT-Send-Cc:
Guest Via Rt <bug-Tk@rt.cpan.org> writes: Show quoted text
>This message about Tk was sent to you by guest <> via rt.cpan.org > >Full context and any attached attachments can be found at: ><URL: https://rt.cpan.org/Ticket/Display.html?id=3770 > > >for a while now, the > extern int gettimeofday(struct timeval *, struct timezone *); > >line in pTk/tkWinPort.h has been choking the windows compilers,
Which windows compiler(s) ? Show quoted text
>don't you think it's about time we wrap it in an ifndef? I do > >#ifndef WIN32 > extern int gettimeofday(struct timeval *, struct timezone *); >#endif
But tkWinPort.h is only read if WIN32 is set so just delete it.
Show quoted text
> > Which windows compiler(s) ? >
the microsoft one Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
I am not getting any problems with Tk804.025_beta2 with VC++6.0 Pro.