[SAC-HELP] Fwd: sac on cygwin - getline problem
Peter Goldstein
peterg at llnl.gov
Tue Apr 28 09:49:17 PDT 2009
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
More information about the sac-help
mailing list