Re: iostream doesn't work (clang++)

2023-07-13 Thread ggl329 via Cygwin
Hi Mark, On 2023/07/13 14:52, Mark Geisert via Cygwin wrote: Just a quick note to say the root cause has been fixed; the next version of the Cygwin DLL (3.4.8) will include the fix.  If you need the fix urgently you can find a replacement for your /usr/include/sys/cpuset.h at https://github.co

Re: iostream doesn't work (clang++)

2023-07-12 Thread Mark Geisert via Cygwin
Hi once again, ggl329 via Cygwin wrote: On 2023/07/05 12:06, Mark Geisert via Cygwin wrote: My previous reply addressed the specific error reported by your testcase. But I am unable to make progress on the root cause because I can't reproduce your report. [... useful info elided from this quo

Re: iostream doesn't work (clang++)

2023-07-08 Thread Jon Turney via Cygwin
On 07/07/2023 19:18, gs-cygwin.com--- via Cygwin wrote: On Fri, Jul 07, 2023 at 04:48:08PM +0100, Jon Turney via Cygwin wrote: On 06/07/2023 00:08, Brian Inglis via Cygwin wrote: I have no idea why both compilers would include w32api headers as if they were building Mingw cross compilers! Yo

Re: iostream doesn't work (clang++)

2023-07-07 Thread gs-cygwin.com--- via Cygwin
On Fri, Jul 07, 2023 at 04:48:08PM +0100, Jon Turney via Cygwin wrote: > On 06/07/2023 00:08, Brian Inglis via Cygwin wrote: > > > > I have no idea why both compilers would include w32api headers as if > > they were building Mingw cross compilers! > > You are allowed to use the Win32 API in Cygwi

Re: iostream doesn't work (clang++)

2023-07-07 Thread Jon Turney via Cygwin
On 06/07/2023 00:08, Brian Inglis via Cygwin wrote: I have no idea why both compilers would include w32api headers as if they were building Mingw cross compilers! You are allowed to use the Win32 API in Cygwin programs (with some caveats). Various Cygwin utilities which interface with the Wi

Re: iostream doesn't work (clang++)

2023-07-07 Thread Mark Geisert via Cygwin
Brian Inglis via Cygwin wrote: On 2023-07-05 09:54, ggl329 via Cygwin wrote: Hi Mark, On 2023/07/05 12:06, Mark Geisert via Cygwin wrote: My previous reply addressed the specific error reported by your testcase. But I am unable to make progress on the root cause because I can't reproduce your

Re: iostream doesn't work (clang++)

2023-07-05 Thread Brian Inglis via Cygwin
On 2023-07-05 09:54, ggl329 via Cygwin wrote: Hi Mark, On 2023/07/05 12:06, Mark Geisert via Cygwin wrote: My previous reply addressed the specific error reported by your testcase. But I am unable to make progress on the root cause because I can't reproduce your report. Hm, it seems to be di

Re: iostream doesn't work (clang++)

2023-07-05 Thread ggl329 via Cygwin
Hi Mark, On 2023/07/05 12:06, Mark Geisert via Cygwin wrote: My previous reply addressed the specific error reported by your testcase. But I am unable to make progress on the root cause because I can't reproduce your report. Hm, it seems to be difficult to track down the root cause... On my

Re: iostream doesn't work (clang++)

2023-07-04 Thread Mark Geisert via Cygwin
Hi again, ggl329 via Cygwin wrote: Hi, clang++ fails with iostream. Does it go well in your environment? # I noticed that clang is orphaned. clang requires a maintainer? It would indeed be nice to have a clang maintainer. Until that happens various other folks might be able to assist if the

Re: iostream doesn't work (clang++)

2023-07-04 Thread Mark Geisert via Cygwin
Hi there, ggl329 via Cygwin wrote: Hi, clang++ fails with iostream. Does it go well in your environment? # I noticed that clang is orphaned. clang requires a maintainer? $ cat sample.cc #include int main() {     std::cout << "Hello World.\n";     return 0; } $ g++ sample.cc $ ./a Hello Wo

iostream doesn't work (clang++)

2023-07-04 Thread ggl329 via Cygwin
Hi, clang++ fails with iostream. Does it go well in your environment? # I noticed that clang is orphaned. clang requires a maintainer? $ cat sample.cc #include int main() { std::cout << "Hello World.\n"; return 0; } $ g++ sample.cc $ ./a Hello World. $ clang++ sample.cc In file inclu