Thread: Fwd: sac on cygwin - getline problem

Started: 2009-04-28 16:49:17
Last activity: 2009-04-28 16:49:17
Topics: SAC Help
Peter Goldstein
2009-04-28 16:49:17

Dear Professor Yamada,

Thank you for sharing your problem with getline. This message is
being forwarded to our sac-help mailing list which you can sign up
for at the following link.

http://norman.iris.washington.edu/mailman/listinfo/sac-help

Cheers,

Peter


X-IronPort-Anti-Spam-Result:
AisCAMKk9kmCNoJUmWdsb2JhbACWaAEBAQEBCAsKBxG4HINzBQ
X-AuditID: 82368249-af190bb000004e92-7d-49f707c39d33
Date: Tue, 28 Apr 2009 22:42:24 +0900
From: Masumi Yamada <masumi<at>eqh.dpri.kyoto-u.ac.jp>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
To: peterg<at>llnl.gov
Subject: sac on cygwin
X-Brightmail-Tracker: AAAAAA==

Dear sac developers,

I noticed recent version of cygwin has a function 'getline' in the
stdio.h, and that causes conflict with the function in sac source code.
I recommend to change the name of the function.

co/getline.c: In function `getline':
co/getline.c:36: error: argument "pfd" doesn't match prototype
/usr/include/sys/stdio.h:31: error: prototype declaration
co/getline.c:36: error: argument "pch" doesn't match prototype
/usr/include/sys/stdio.h:31: error: prototype declaration
co/getline.c:36: error: argument "maxlen" doesn't match prototype
/usr/include/sys/stdio.h:31: error: prototype declaration
make[1]: *** [co/getline.o] Error 1
make: *** [all-recursive] Error 1

best regards,

Masumi
----------------------------------------------------------
***** Masumi Yamada
***** Assistant Professor
*****
***** Earthquake Hazards Division, DPRI, Kyoto Univ.,
***** Gokasho, Uji, 611-0011, Japan


Page built 18:41:06 | v.090361a2