This is the mail archive of the cygwin mailing list for the Cygwin 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]

octave configure on cygwin snapshot


Hi,
running octave 2.9.13 configure on latest cygwin
snapshot 
1.7.0s(0.177/4/2) 20070813 12:16:31

I found that the attached test to verify the format
of gettimeof is failing

gcc -o conftest.exe -g -O2   conftest.c -ldl -lwsock32
-lz -lm  -lwsock32
conftest.c: In function `main':
conftest.c:216: error: storage size of 'dummy' isn't
known

while the test pass for cygwin 1.5.14-2.

As both structs timeval and timezone are defined on
/usr/include/sys/time.h
and the two files are equal on the struct definition
can someone help me in understanding the problem ?

Is it related to the change of definition for
gettimeofday ?

diff cygwin-1.5.24/usr/include/sys/time.h
20070813/usr/include/sys/time.h 
73c73
< int _EXFUN(gettimeofday, (struct timeval *__p,
struct timezone *__z));
---
> int _EXFUN(gettimeofday, (struct timeval *__p, void
*__tz));

Regards
Marco



      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

Attachment: conftest.c
Description: pat395223029

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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