Re: Why is popen from stdio.h disabled with -std=c++11?

2017-01-30 Thread Yaakov Selkowitz
On 2017-01-30 10:41, Пётр Б. wrote: Why is popen from stdio.h disabled with -std=c++11? I am trying to grasp it and I can't. It is exposed if -std=c11 but not for c++11. No, it's not, you get an implicit function declaration warning in C. C++ is simply less forgiving (which is

Why is popen from stdio.h disabled with -std=c++11?

2017-01-30 Thread Пётр Б .
See usr/include/stdio.h:343 (2016.12.16) Why is popen from stdio.h disabled with -std=c++11? I am trying to grasp it and I can't. It is exposed if -std=c11 but not for c++11. What is the problem and can it be solved? Why does -std=c++11 prevent POSIX visibility? MinGW exposes popen as _

Re: __STRICT_ANSI__ and stdio.h

2015-12-15 Thread KIMURA Masaru
Hi, >> >> is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to >> >> glibc's? >> > >> > Cygwin is using newlib, newlib is BSD based. We introduced the >> > compatibility checking macros from FreeBSD lately. >&g

Re: __STRICT_ANSI__ and stdio.h

2015-12-15 Thread Corinna Vinschen
On Dec 15 02:17, KIMURA Masaru wrote: > Hi, > > >> is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to > >> glibc's? > > > > Cygwin is using newlib, newlib is BSD based. We introduced the > > compatibility checking macros

Re: __STRICT_ANSI__ and stdio.h

2015-12-14 Thread KIMURA Masaru
Hi, >> is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to >> glibc's? > > Cygwin is using newlib, newlib is BSD based. We introduced the > compatibility checking macros from FreeBSD lately. i roughly checked FreeBSD include/stdio.h and sys/

Re: __STRICT_ANSI__ and stdio.h

2015-12-14 Thread Corinna Vinschen
On Dec 12 16:51, KIMURA Masaru wrote: > Hi, > > is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to glibc's? Cygwin is using newlib, newlib is BSD based. We introduced the compatibility checking macros from FreeBSD lately. Corinna -

Re: __STRICT_ANSI__ and stdio.h

2015-12-14 Thread cyg Simple
On 12/13/2015 11:56 PM, KIMURA Masaru wrote: > Hi, > >>> is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to >>> glibc's? >>> especially, i meant routines in POSIX 1003.1:2001 (popen(), pclose(), etc). >>> for a

Re: __STRICT_ANSI__ and stdio.h

2015-12-13 Thread KIMURA Masaru
oops! forgot to attach p.c, so resending now... > Hi, > >>> is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to >>> glibc's? >>> especially, i meant routines in POSIX 1003.1:2001 (popen(), pclose(), etc). >>> for a

Re: __STRICT_ANSI__ and stdio.h

2015-12-13 Thread KIMURA Masaru
Hi, >> is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to >> glibc's? >> especially, i meant routines in POSIX 1003.1:2001 (popen(), pclose(), etc). >> for a specific example, see a cparser issue[1] i submitted. >> > > Cygwin

Re: __STRICT_ANSI__ and stdio.h

2015-12-13 Thread cyg Simple
On 12/12/2015 2:51 AM, KIMURA Masaru wrote: > Hi, > > is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to glibc's? > especially, i meant routines in POSIX 1003.1:2001 (popen(), pclose(), etc). > for a specific example, see a cparser issue[1] i submitte

__STRICT_ANSI__ and stdio.h

2015-12-11 Thread KIMURA Masaru
Hi, is cygwin's __STRICT_ANSI__ and stdio.h behavior not so compatible to glibc's? especially, i meant routines in POSIX 1003.1:2001 (popen(), pclose(), etc). for a specific example, see a cparser issue[1] i submitted. Peace, - [1] https://github.com/MatzeB/cparser/issues/10

Re: Issues with stdio.h

2012-02-21 Thread Earnie Boyd
And FWIW, MinGW's native gcc also doesn't include the GCC specific headers in the /mingw/include directory. -- Earnie -- https://sites.google.com/site/earnieboyd -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://

Re: Issues with stdio.h

2012-02-20 Thread Christopher Faylor
: >>>>> ... >>>>> /usr/include/stdio.h:34:20: fatal error: stddef.h: No such file or >>>>> directory >>>> stddef.h comes from the gcc4-core package. It's located in: >>>> >>>> usr/lib/gcc/i686-pc-cygwin/4.5.3/include/

Re: Issues with stdio.h

2012-02-20 Thread Eric Blake
On 02/20/2012 03:57 PM, Robert Miles wrote: > Why not put a stddef.h file into /user/include that includes comments > showing > where to find the compiler-specific stddef.h files? Why not ask the upstream gcc list? This is not a situation specific to Cygwin, so asking on this list won't get it ch

Re: Issues with stdio.h

2012-02-20 Thread Eric Blake
On 02/20/2012 03:58 PM, Thomas Wolff wrote: >> Wrong. GNU/Linux does this too. On my Fedora machine, >> >> $ printf '#include\n#include\n' | gcc -E -\ >> |grep '^# 1 "/' ... >> # 1 "/usr/lib/gcc/x86_64-redhat-linux/4.6.2/include/stddef.h" 1 3 4 >> # 1 "/usr/include/wchar.h" 1 3 4 >> # 1 "/usr

Re: Issues with stdio.h

2012-02-20 Thread Thomas Wolff
Am 20.02.2012 23:10, schrieb Eric Blake: On 02/20/2012 02:39 PM, Thomas Wolff wrote: Am 20.02.2012 01:25, schrieb Christopher Faylor: On Sun, Feb 19, 2012 at 07:07:04PM -0500, Chris Sutcliffe wrote: ... /usr/include/stdio.h:34:20: fatal error: stddef.h: No such file or directory stddef.h

Re: Issues with stdio.h

2012-02-20 Thread Robert Miles
On 2/20/2012 4:12 PM, JonY wrote: On 2/21/2012 05:39, Thomas Wolff wrote: Am 20.02.2012 01:25, schrieb Christopher Faylor: On Sun, Feb 19, 2012 at 07:07:04PM -0500, Chris Sutcliffe wrote: ... /usr/include/stdio.h:34:20: fatal error: stddef.h: No such file or directory stddef.h comes from the

Re: Issues with stdio.h

2012-02-20 Thread JonY
On 2/21/2012 05:39, Thomas Wolff wrote: > Am 20.02.2012 01:25, schrieb Christopher Faylor: >> On Sun, Feb 19, 2012 at 07:07:04PM -0500, Chris Sutcliffe wrote: >>> ... >>> /usr/include/stdio.h:34:20: fatal error: stddef.h: No such file or >>> directory >>

Re: Issues with stdio.h

2012-02-20 Thread Eric Blake
On 02/20/2012 02:39 PM, Thomas Wolff wrote: > Am 20.02.2012 01:25, schrieb Christopher Faylor: >> On Sun, Feb 19, 2012 at 07:07:04PM -0500, Chris Sutcliffe wrote: >>> ... >>> /usr/include/stdio.h:34:20: fatal error: stddef.h: No such file or >>> directory

Re: Issues with stdio.h

2012-02-20 Thread Thomas Wolff
Am 20.02.2012 01:25, schrieb Christopher Faylor: On Sun, Feb 19, 2012 at 07:07:04PM -0500, Chris Sutcliffe wrote: ... /usr/include/stdio.h:34:20: fatal error: stddef.h: No such file or directory stddef.h comes from the gcc4-core package. It's located in: usr/lib/gcc/i686-pc-cygwin/

Re: Issues with stdio.h

2012-02-19 Thread Christopher Faylor
On Sun, Feb 19, 2012 at 07:07:04PM -0500, Chris Sutcliffe wrote: >I'm trying to compile vim now using the latest snapshot, and I'm >having an issue with stdio.h referencing stddef.h, which seems to be >missing. I checked my /usr/include directory and sure enough, it's &

Issues with stdio.h

2012-02-19 Thread Chris Sutcliffe
I'm trying to compile vim now using the latest snapshot, and I'm having an issue with stdio.h referencing stddef.h, which seems to be missing. I checked my /usr/include directory and sure enough, it's not there. According to vim's configure: configure:3089: gcc -o confte

Re: stdio.h: broken standard compliance.

2011-10-11 Thread Kaz Kylheku
Christopher Faylor writes: The cygwin mailing list does not set Reply-To. It does set "Mail-Followup-To". Effectively, there is no difference. This is an idiotic header that is defined by a 1998 IETF draft that was never approved, as far as I can find. This *DEAD* draft is here: http://too

Re: stdio.h: broken standard compliance.

2011-10-11 Thread Kaz Kylheku
Greg Chicares writes: An argument could be made for giving _POSIX_C_SOURCE precedence over __STRICT_ANSI__ if both are defined; but as long as that's not the The time to discuss this sort of stuff was back in 1990 or so, when it was all settled and POSIX.1 came out. (Luckily, it went your way

Re: stdio.h: broken standard compliance.

2011-10-11 Thread Christopher Faylor
On Mon, Oct 10, 2011 at 09:58:50PM -0700, Kaz Kylheku wrote: >Christopher Faylor writes: >> The convention in this mailing list is that you read the mailing list. >I see now from the archives that this list is configured >to generate the unfortunate Reply-to header, which by many >is considered a m

Re: stdio.h: broken standard compliance.

2011-10-11 Thread Andrey Repin
Greetings, Kaz Kylheku! > I see now from the archives that this list is configured > to generate the unfortunate Reply-to header, which by many > is considered a mailing list misconfiguration. First time I hear this bullshit. Mailing lists intended for public conversation. > RFC 2822: > ``When

Re: stdio.h: broken standard compliance.

2011-10-11 Thread Greg Chicares
On 2011-10-10 18:42Z, Kaz Kylheku wrote: > > Corinna Vinschen writes: > >> > $ gcc -Wall -ansi -D_POSIX_C_SOURCE=2 posix-ansi.c > ^ >> fileno and pclose are *not* ANSI functions. Therefore, if you define >> -ansi, you get the below errors. The newlib headers have explicit >> #ifndef __STRICT

Re: stdio.h: broken standard compliance.

2011-10-10 Thread Kaz Kylheku
One more thing: RFC 2822: ``When the "Reply-To:" field is present, it indicates the mailbox(es) to which the author of the message suggests that replies be sent.'' [ 3.6.2 Originator fields ] Note that the Cygwin mailing list is not the author of this message; herefore, it is abusing the Rep

Re: stdio.h: broken standard compliance.

2011-10-10 Thread Kaz Kylheku
Christopher Faylor writes: The convention in this mailing list is that you read the mailing list. Hi Christopher, I see now from the archives that this list is configured to generate the unfortunate Reply-to header, which by many is considered a mailing list misconfiguration. [[ Apologies t

Re: stdio.h: broken standard compliance.

2011-10-10 Thread Christopher Faylor
On Mon, Oct 10, 2011 at 11:42:45AM -0700, Kaz Kylheku wrote: > >Corinna Vinschen writes: > >> > $ gcc -Wall -ansi -D_POSIX_C_SOURCE=2 posix-ansi.c > ^ >> fileno and pclose are *not* ANSI functions. Therefore, if you define >> -ansi, you get the below errors. The newlib headers have explicit >>

Re: stdio.h: broken standard compliance.

2011-10-10 Thread Kaz Kylheku
Corinna Vinschen writes: > $ gcc -Wall -ansi -D_POSIX_C_SOURCE=2 posix-ansi.c ^ fileno and pclose are *not* ANSI functions. Therefore, if you define -ansi, you get the below errors. The newlib headers have explicit #ifndef __STRICT_ANSI__ guards around the non-ANSI definitions. Hi Corin

Re: stdio.h: broken standard compliance.

2011-10-10 Thread Corinna Vinschen
On Oct 9 11:23, Kaz Kylheku wrote: > > On Sun, 09 Oct 2011 11:08:58 -0700, Kaz Kylheku > wrote: > > reason, I cannot get a warning about fileno from this test case if > > I add a reference to it. I will try to produce a minimal repro test > > case for that. > > In my real program I have -Wall,

Re: stdio.h: broken standard compliance.

2011-10-09 Thread Kaz Kylheku
On Sun, 09 Oct 2011 11:08:58 -0700, Kaz Kylheku wrote: > reason, I cannot get a warning about fileno from this test case if > I add a reference to it. I will try to produce a minimal repro test > case for that. In my real program I have -Wall, and I'm not taking the function pointers. With -Wal

Re: gcc cannot find stdio.h

2010-03-11 Thread Christopher Faylor
On Thu, Mar 11, 2010 at 07:08:56AM -0500, Jacob Jacobson wrote: >On 03/11/2010 04:24 AM, Csaba Raduly wrote: >> On Wed, Mar 10, 2...@10:41 PM, Jacob Jacobson wrote: >>> Larry Hall (Cygwin) wrote: >> (snip) You are missing a few entries, though it's not clear why you don't have them.

Re: gcc cannot find stdio.h

2010-03-11 Thread Jacob Jacobson
On 03/11/2010 04:24 AM, Csaba Raduly wrote: On Wed, Mar 10, 2010 at 10:41 PM, Jacob Jacobson wrote: Larry Hall (Cygwin) wrote: (snip) You are missing a few entries, though it's not clear why you don't have them. Reinstall the 'cygwin' package. Thanks. I reinstalled "cygwin" package and "gc

Re: gcc cannot find stdio.h

2010-03-11 Thread Csaba Raduly
On Wed, Mar 10, 2010 at 10:41 PM, Jacob Jacobson wrote: > Larry Hall (Cygwin) wrote: (snip) >> >> You are missing a few entries, though it's not clear why you don't have >> them.  Reinstall the 'cygwin' package. > > Thanks. I reinstalled "cygwin" package and "gcc" works now. I also > noticed that t

Re: gcc cannot find stdio.h

2010-03-10 Thread Jacob Jacobson
Larry Hall (Cygwin) wrote: On 3/9/2010 9:53 AM, Jacob Jacobson wrote: Csaba Raduly wrote: On Mon, Mar 8, 2010 at 11:37 PM, Jacob Jacobson wrote: I am unable to run gcc. I keep getting stdio.h: No such file. Hi Jacob, What is the output of gcc-4 -v hello.c and the output of find /usr

Re: gcc cannot find stdio.h

2010-03-09 Thread Larry Hall (Cygwin)
On 3/9/2010 9:53 AM, Jacob Jacobson wrote: Csaba Raduly wrote: On Mon, Mar 8, 2010 at 11:37 PM, Jacob Jacobson wrote: I am unable to run gcc. I keep getting stdio.h: No such file. Hi Jacob, What is the output of gcc-4 -v hello.c and the output of find /usr/include -name stdio.h -ls

Re: gcc cannot find stdio.h

2010-03-09 Thread Jacob Jacobson
Csaba Raduly wrote: On Mon, Mar 8, 2010 at 11:37 PM, Jacob Jacobson wrote: I am unable to run gcc. I keep getting stdio.h: No such file. Hi Jacob, What is the output of gcc-4 -v hello.c and the output of find /usr/include -name stdio.h -ls [~$:501] cd /usr/include /usr/include [include

Re: gcc cannot find stdio.h

2010-03-09 Thread Jacob Jacobson
Larry Hall (Cygwin) wrote: On 3/8/2010 5:37 PM, Jacob Jacobson wrote: I am unable to run gcc. I keep getting stdio.h: No such file. Try getting rid of the ~\... paths from your Windows path. I notice a reference to MKS in your cygcheck output. Make sure MKS is completely hidden from Cygwin

Re: gcc cannot find stdio.h

2010-03-09 Thread Jacob Jacobson
Csaba Raduly wrote: On Mon, Mar 8, 2010 at 11:37 PM, Jacob Jacobson wrote: I am unable to run gcc. I keep getting stdio.h: No such file. Hi Jacob, What is the output of gcc-4 -v hello.c and the output of find /usr/include -name stdio.h -ls [hello$:502] gcc-4 -v hello.c Using built-in

Re: gcc cannot find stdio.h

2010-03-09 Thread Csaba Raduly
On Mon, Mar 8, 2010 at 11:37 PM, Jacob Jacobson wrote: > I am unable to run gcc. I keep getting stdio.h: No such file. Hi Jacob, What is the output of gcc-4 -v hello.c and the output of find /usr/include -name stdio.h -ls -- Life is complex, with real and imaginary parts -- Problem repo

Re: gcc cannot find stdio.h

2010-03-08 Thread Larry Hall (Cygwin)
On 3/8/2010 5:37 PM, Jacob Jacobson wrote: I am unable to run gcc. I keep getting stdio.h: No such file. Try getting rid of the ~\... paths from your Windows path. I notice a reference to MKS in your cygcheck output. Make sure MKS is completely hidden from Cygwin. -- Larry Hall

RE: cygwin 1.5.24-2 gcc 3.4.4 stdio.h

2007-11-29 Thread Dave Korn
he compiler's problem. The C compiler does conform; it's the newlib C *run-time library* that is not C89-compatible. Gcc is doing it's part, but gcc does not supply stdio.h; it's up to the library to wrap the headers in #ifdef. > Which list do I need to go to to consult someon

Re: cygwin 1.5.24-2 gcc 3.4.4 stdio.h

2007-11-28 Thread Paul Edwards
Eric Blake wrote... > 1) the newlib headers pollute the namespace in strict ANSI mode (or in > other words, gcc -ansi _still has bugs_ in newlib) because no one has > submitted patches to the newlib project to clean them up. Patches are > welcome, but should be directed to the newlib list rather

Re: cygwin 1.5.24-2 gcc 3.4.4 stdio.h

2007-11-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Edwards on 11/28/2007 5:55 PM: Please avoid http://cygwin.com/acronyms/#TOFU - reformatting your mail. > > I'll ask them to stop doing that. I just got spammed. :-( Still, at least now > I know where to find replies. :-) > > BFN

Re: cygwin 1.5.24-2 gcc 3.4.4 stdio.h

2007-11-28 Thread Paul Edwards
l. - Original Message - From: "Paul Edwards" <[EMAIL PROTECTED]> To: Sent: Sunday, November 11, 2007 1:40 PM Subject: cygwin 1.5.24-2 gcc 3.4.4 stdio.h > I just downloaded cygwin 1.5.24-2 (just a couple of hours ago) and > compiled the following program with "

Re: cygwin 1.5.24-2 gcc 3.4.4 stdio.h

2007-11-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Robert Kiesling on 11/11/2007 1:50 AM: > [ Charset ISO-8859-1 unsupported, converting... ] >> I just downloaded cygwin 1.5.24-2 (just a couple of hours ago) and >> compiled the following program with "gcc -ansi fred.c" >> (NOTE the "-ansi"

Re: cygwin 1.5.24-2 gcc 3.4.4 stdio.h

2007-11-11 Thread Robert Kiesling
[ Charset ISO-8859-1 unsupported, converting... ] > I just downloaded cygwin 1.5.24-2 (just a couple of hours ago) and > compiled the following program with "gcc -ansi fred.c" > (NOTE the "-ansi" keyword): I have only the C99 standard in front of me, but its syntax should be the same as ANSI, whic

cygwin 1.5.24-2 gcc 3.4.4 stdio.h

2007-11-10 Thread Paul Edwards
the following result: In file included from /usr/include/stdio.h:46, from fred.c:3: /usr/include/sys/types.h:180: error: parse error before "was" In file included from /usr/include/sys/types.h:373, from /usr/include/stdio.h:46, from fred.c:3

Re: stdio.h

2006-05-29 Thread Christopher Faylor
On Mon, May 29, 2006 at 05:04:02PM +0900, Wynfield Henman wrote: >1.) Any idea of when a release of cygwin will be made of the "current >versions" contiaining the > _GNU_SOURCE to avoid collision with old-style declarations? Look at the mailing list archives and see all of the messages asking

Re: stdio.h

2006-05-29 Thread Wynfield Henman
change doesn't seem(?) to be in /usr/include/sys/stdio.h from Cygwin >DLL 1.5.19-4. So I think one may have to use CVS or a snapshot, rather than >"just" using the usual setup.exe procedure. That's what Brian meant by "current version". cgf -- Unsubsc

Re: stdio.h

2006-05-26 Thread Christopher Faylor
nux. > >This change doesn't seem(?) to be in /usr/include/sys/stdio.h from Cygwin >DLL 1.5.19-4. So I think one may have to use CVS or a snapshot, rather than >"just" using the usual setup.exe procedure. That's what Brian meant by "current version". cgf

Re: stdio.h

2006-05-26 Thread David A. Case
On Fri, May 26, 2006, Brian Dessent wrote: > > 2. In current versions of Cygwin getline and getdelim are only defined > if the user defines _GNU_SOURCE - this is the same way it's done on > linux. This change doesn't seem(?) to be in /usr/include/sys/stdio.h from Cygwin DLL

Re: stdio.h

2006-05-26 Thread Brian Dessent
Wynfield Henman wrote: > > I have run into problems with getline being defined in stdio.h > > I understand that a GNU system has it defined there but not any other system. > > Please look into where "getline" should be defined in stdio.h or not. 1. This issue

RE: stdio.h

2006-05-26 Thread Dave Korn
On 26 May 2006 06:14, Wynfield Henman wrote: > I have run into problems with getline being defined in stdio.h That's a really imprecise description of the situation. Could mean anything. > I understand that a GNU system has it defined there but not any other > system. &g

stdio.h

2006-05-25 Thread Wynfield Henman
I have run into problems with getline being defined in stdio.h I understand that a GNU system has it defined there but not any other system. Please look into where "getline" should be defined in stdio.h or not. Thank you. -- Unsubscribe info: http://cygwin.com/ml/#unsubscr

Re: getline() and getdelim() in /usr/include/sys/stdio.h

2006-01-28 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Vladimir Panov on 1/28/2006 3:54 PM: > Hi. > > cygwin-1.5.19 has introduced getline() and getdelim() in > /usr/include/sys/stdio.h. Since they are GNU extensions, I think that > they should be enclosed with #ifdef _GNU_SOU

getline() and getdelim() in /usr/include/sys/stdio.h

2006-01-28 Thread Vladimir Panov
Hi. cygwin-1.5.19 has introduced getline() and getdelim() in /usr/include/sys/stdio.h. Since they are GNU extensions, I think that they should be enclosed with #ifdef _GNU_SOURCE. ... #endif. Vlado -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Re: No getline() in stdio.h?

2005-07-07 Thread Christopher Faylor
On Thu, Jul 07, 2005 at 06:37:08PM +0200, Gerrit P. Haase wrote: >Corinna Vinschen wrote: >>On Jul 7 14:26, Gerrit P. Haase wrote: >>>Eric Blake wrote: An alternative is to investigate using the gnulib module in your code. gnulib is currently designed for CVS use only (so there is no cygwi

Re: No getline() in stdio.h?

2005-07-07 Thread Gerrit P. Haase
Corinna Vinschen wrote: On Jul 7 14:26, Gerrit P. Haase wrote: Eric Blake wrote: An alternative is to investigate using the gnulib module in your code. gnulib is currently designed for CVS use only (so there is no cygwin distribution), but projects like coreutils use gnulib getline() and ot

Re: No getline() in stdio.h?

2005-07-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gerrit P. Haase on 7/7/2005 6:35 AM: >>> An alternative is to investigate using the gnulib module in your code. > > Wouldn't it be nice to have it as a Cygwin package? Unfortunately, the gnulib maintainers aren't ready for it to be a pac

Re: No getline() in stdio.h?

2005-07-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Gerrit P. Haase on 7/7/2005 6:26 AM: >>http://www.gnu.org/software/gnulib/ > > Same approach as libgen? Are dirname() and basename() included? Gnulib uses source code sharing. There is no libgnulib.a, just a lot of small modules that ca

Re: No getline() in stdio.h?

2005-07-07 Thread Gerrit P. Haase
Gerrit P. Haase wrote: Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to George Morgan on 7/7/2005 2:12 AM: Ok, I was reading about the virtues of using getline and then looked in cygwin's stdio.h and it is not there! Did it get removed? Yeah, I foun

Re: No getline() in stdio.h?

2005-07-07 Thread Corinna Vinschen
On Jul 7 14:26, Gerrit P. Haase wrote: > Eric Blake wrote: > >An alternative is to investigate using the gnulib module in your code. > >gnulib is currently designed for CVS use only (so there is no cygwin > >distribution), but projects like coreutils use gnulib getline() and other > >modules to ma

Re: No getline() in stdio.h?

2005-07-07 Thread Gerrit P. Haase
Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to George Morgan on 7/7/2005 2:12 AM: Ok, I was reading about the virtues of using getline and then looked in cygwin's stdio.h and it is not there! Did it get removed? Yeah, I found the __getline but when I ch

Re: No getline() in stdio.h?

2005-07-07 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to George Morgan on 7/7/2005 2:12 AM: > Ok, I was reading about the virtues of using getline and then looked in > cygwin's > stdio.h and it is not there! Did it get removed? Yeah, I found the __getline > but when I cha

Re: No getline() in stdio.h?

2005-07-07 Thread Corinna Vinschen
On Jul 7 04:12, George Morgan wrote: > Ok, I was reading about the virtues of using getline and then looked in > cygwin's > stdio.h and it is not there! Did it get removed? Yeah, I found the __getline > but when I changed my C code to use that the linker does not find it

No getline() in stdio.h?

2005-07-07 Thread George Morgan
Ok, I was reading about the virtues of using getline and then looked in cygwin's stdio.h and it is not there! Did it get removed? Yeah, I found the __getline but when I changed my C code to use that the linker does not find it. This is with cygwin DLL version 1.5.18 and gcc 3.4.4. Maybe I