[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-12-02 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738 --- Comment #15 from Kai Tietz ktietz at gcc dot gnu.org 2010-12-02 13:15:18 UTC --- Author: ktietz Date: Thu Dec 2 13:15:10 2010 New Revision: 167369 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=167369 Log: 2010-12-02 Kai Tietz

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-12-02 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-08-13 Thread paolo dot carlini at oracle dot com
--- Comment #14 from paolo dot carlini at oracle dot com 2010-08-13 18:00 --- Dave, any news on this? Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-22 Thread sherpya at netfarm dot it
--- Comment #13 from sherpya at netfarm dot it 2010-04-22 15:31 --- I can build 4.5.0 without problems, I think here no source is pulling in winsock header -- sherpya at netfarm dot it changed: What|Removed |Added

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-20 Thread paolo dot carlini at oracle dot com
--- Comment #10 from paolo dot carlini at oracle dot com 2010-04-20 21:26 --- Dave, can I assign this to you? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-20 Thread davek at gcc dot gnu dot org
--- Comment #11 from davek at gcc dot gnu dot org 2010-04-21 02:17 --- (In reply to comment #10) Dave, can I assign this to you? Probably not now I beat you to it! Will take me a day or three to get round to. -- davek at gcc dot gnu dot org changed: What|Removed

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-20 Thread paolo dot carlini at oracle dot com
--- Comment #12 from paolo dot carlini at oracle dot com 2010-04-21 03:36 --- Many thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-15 Thread dannysmith at users dot sourceforge dot net
--- Comment #6 from dannysmith at users dot sourceforge dot net 2010-04-15 07:54 --- (In reply to comment #1) FIONREAD is defined by winsock header How come your build of basic_file_stdio includes winsock api headers? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-15 Thread sherpya at netfarm dot it
--- Comment #7 from sherpya at netfarm dot it 2010-04-15 10:03 --- the correct way should be #if defined(FIONREAD) !defined(_WIN32) or if you prefer __MINGW32__ (note _WIN32 is not defined on cygwin) ioctlsocket is not suitable because it does not work on file descriptors also it

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-15 Thread davek at gcc dot gnu dot org
--- Comment #8 from davek at gcc dot gnu dot org 2010-04-15 10:13 --- Mid-air collision! Mid-air collision detected! :) (In reply to comment #5) I remember correctly), I wonder whether we should simply special case mingw32 and conditional to the macro being defined Yeah, that

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-15 Thread paolo dot carlini at oracle dot com
--- Comment #9 from paolo dot carlini at oracle dot com 2010-04-15 16:04 --- Agreed, if ioctlsocket can't really replace ioctl, let's just explicitly #if out the affected targets for now. We can still improve it later. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-14 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2010-04-15 00:55 --- Dave, any idea? For sure nobody reported build problems so far, and that code is *very* old... -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-14 Thread davek at gcc dot gnu dot org
--- Comment #3 from davek at gcc dot gnu dot org 2010-04-15 01:03 --- Is this a combined-tree build? Sounds like: http://www.mail-archive.com/g...@gcc.gnu.org/msg27284.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-14 Thread davek at gcc dot gnu dot org
--- Comment #4 from davek at gcc dot gnu dot org 2010-04-15 01:17 --- So the ideal fix would be to change #ifdef FIONREAD to something more like #if HAVE_IOCTL defined (FIONREAD). But that runs into the need-link-test vs. cross-configure problem. MinGW doesn't have sys/ioctl.h; could

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-14 Thread paolo dot carlini at oracle dot com
--- Comment #5 from paolo dot carlini at oracle dot com 2010-04-15 03:09 --- (In reply to comment #4) MinGW doesn't have sys/ioctl.h; could we test HAVE_SYS_IOCTL_H? Are there likely to be any platforms we support that define FIONREAD but don't have sys/ioctl.h? Dave, if you look

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-12 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal Version|unknown |4.3.0

[Bug libstdc++/43738] basic_file_stdio.cc uses ioctl on a fd, but not available on mingw32

2010-04-12 Thread sherpya at netfarm dot it
--- Comment #1 from sherpya at netfarm dot it 2010-04-12 23:36 --- FIONREAD is defined by winsock header -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738