Re: Why does -std=c++11 hide certain function calls

2018-09-05 Thread John Selbie
> For Unixy builds, just don't specify -std. Only specify -std if you want to ensure that builds will work with earlier standards, compilers, or libraries, or for -std=c* without any special language or library features, in which case you may also want to add -pedantic or more restrictive options.

Re: Advice on setting Cygwin build parameters for OpenSC.

2018-09-05 Thread dwhobrey
Thank you for the feedback. WND would be _WIN32 builds. Regards, Darren -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.htm

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Steven Penny
On Wed, 5 Sep 2018 22:14:59, Corinna Vinschen wrote: OTOH, in my testing this only occurs for DejaVu Sans Mono. I installed Liberation Mono and Noto Mono as well and the above problem never occurs with them. Weird. I'm about to let this slip as a font bug. as you prob know ive been testing o

Re: handling invalid user/groups (was incompat in cygwin choice of using '+' as domain and user separator.)

2018-09-05 Thread L A Walsh
On 9/5/2018 1:03 AM, Corinna Vinschen wrote: No, I deliberately removed it from the released version to tease you. Meanie!!! :-) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsub

Re: Why does -std=c++11 hide certain function calls

2018-09-05 Thread Doug Henderson
On Wed, 5 Sep 2018 at 14:41, Brian Inglis wrote: > _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE" Relavent xkcd - https://xkcd.com/927/ -- Doug Henderson, Calgary, Alberta, Canada - from gmail.com -- Problem reports: http://cygwin.com/problems.html FAQ: ht

Odd email symptoms (was Re: handling invalid user/groups)

2018-09-05 Thread L A Walsh
Thanks for your reply, it's not so much a problem for me, just that when I have some email problem, I often need someone else to point it out to me, as from my perspective, everything is working fine! :-) On 9/5/2018 4:30 AM, Andrey Repin wrote: Greetings, L A Walsh! p.s. -- some "FYI" stuf

RE: Segmentation fault when compiling *FIXED*

2018-09-05 Thread tlake
In the latest build of Windows 10, sent out on 5 Sep 2018, the gcc compiler no longer gives a segmentation error. Whew! I'm glad that's fixed. Tom L -Original Message- From: cygwin-ow...@cygwin.com On Behalf Of cygwin-digest-h...@cygwin.com Sent: Wednesday, August 29, 2018 8:35 PM To: cy

Re: Why does -std=c++11 hide certain function calls

2018-09-05 Thread Brian Inglis
On 2018-09-05 13:36, John Selbie wrote: > On Wed, Sep 5, 2018 at 11:46 AM Hans-Bernhard Bröker wrote: >> Am 05.09.2018 um 07:55 schrieb John Selbie: >>> With this: g++ foo.cpp -c -std=c++11 >>> It compiles fine everywhere else, except CygWin. Output on Cygwin: >> I'm afraid that may mean everywher

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Corinna Vinschen
On Sep 5 17:58, Corinna Vinschen wrote: > On Sep 5 15:18, Marco Atzeri wrote: > > Am 05.09.2018 um 13:58 schrieb Steven Penny: > > > On Wed, 5 Sep 2018 09:55:28, Corinna Vinschen wrote: > > > > > Using this file: > > > > > >    $ cat glyph.c > > >    #include > > >    #include > > >    in

Re: Why does -std=c++11 hide certain function calls

2018-09-05 Thread John Selbie
Thanks for the response. But why is getaddrinfo (and its associated struct types and flag values) considered a "language extension" and hidden via the __POSIX_VISIBILE define when other function declarations in netdb.h (such as getservbyname) are not? I don't believe C++ has any formal support fo

Re: Why does -std=c++11 hide certain function calls

2018-09-05 Thread Hans-Bernhard Bröker
Am 05.09.2018 um 07:55 schrieb John Selbie: With this: g++ foo.cpp -c -std=c++11 It compiles fine everywhere else, except CygWin. Output on Cygwin: I'm afraid that may mean everywhere else is wrong. Yes, switching to -std=gnu++11 or adding -D_DEFAULT_SOURCE to the command line line works.

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Corinna Vinschen
On Sep 5 15:18, Marco Atzeri wrote: > Am 05.09.2018 um 13:58 schrieb Steven Penny: > > On Wed, 5 Sep 2018 09:55:28, Corinna Vinschen wrote: > > > Using this file: > > > >    $ cat glyph.c > >    #include > >    #include > >    int main() > >    { > > CONSOLE_FONT_INFOEX ta; > >    

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Andrey Repin
Greetings, Marco Atzeri! > Strange on W10 CMD I obtain > DejaVu Sans Mono >U+FFFD: failure >U+2592: failure >U+25A1: failure >U+01C4: failure > Consolas: >U+FFFD: failure >U+2592: success >U+25A1: success >U+01C4: success > May be original Windows "DejaVu Sans M

[ANNOUNCEMENT] Updated: openmpi-3.1.2-1

2018-09-05 Thread Marco Atzeri
Version 3.1.2-1 of packages libopenmpi-devel libopenmpi40 libopenmpifh40 libopenmpiusef08_40 libopenmpiusetkr40 openmpi are available in the Cygwin distribution: CHANGES Latest upstream release. https://www.mail-archive.com/announce@lists.open-mpi.org/msg00114.html Full upstream ch

Re: Tab completion adding spurious escape characters

2018-09-05 Thread Eric Blake
On 09/04/2018 10:46 PM, Steven Penny wrote: If you create this file:    touch -- \''-#%.!$&(),;@[]^`{}=_~+9zZ' Then enter "touch", "Tab", "Tab", you get this:    touch \'-#%.\!\$\&\(\)\,\;\@\[\]\^\`\{\}\=_~+9zZ So the shell is saying that these characters need to be escaped:    ' ! $ & (

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Andrey Repin
Greetings, Houder! >> > a character that DejaVu Sans Mono actually doesnt have is: >> >> > U+01C4 LATIN CAPITAL LETTER DZ WITH CARON >> >> > Using this file: >> >> How to compile it? >> Simple "gcc glyph.c" fails with >> >> /tmp/ccSCYXAP.o:glyph.c:(.text+0xbd): undefined reference to >> `

[ANNOUNCEMENT] ghostscript 9.24-1

2018-09-05 Thread Ken Brown
The following packages have been uploaded to the Cygwin distribution: * ghostscript-9.24-1 * libgs9-9.24-1 * libgs-devel-9.24-1 GNU Ghostscript is a PostScript interpreter capable of converting PS files into a number of printer output formats. Ghostscript can also render PS files into a number o

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Houder
On Wed, 5 Sep 2018 16:31:33, Andrey Repin wrote: > Greetings, Steven Penny! > > > a character that DejaVu Sans Mono actually doesnt have is: > > > U+01C4 LATIN CAPITAL LETTER DZ WITH CARON > > > Using this file: > > How to compile it? > Simple "gcc glyph.c" fails with > > /tmp/ccSCYXAP.o:g

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Andrey Repin
Greetings, Steven Penny! > a character that DejaVu Sans Mono actually doesnt have is: > U+01C4 LATIN CAPITAL LETTER DZ WITH CARON > Using this file: How to compile it? Simple "gcc glyph.c" fails with /tmp/ccSCYXAP.o:glyph.c:(.text+0xbd): undefined reference to `__imp_CreateFontW' /tmp/ccSC

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Marco Atzeri
Am 05.09.2018 um 13:58 schrieb Steven Penny: On Wed, 5 Sep 2018 09:55:28, Corinna Vinschen wrote: Using this file:    $ cat glyph.c    #include    #include    int main()    { CONSOLE_FONT_INFOEX ta; ta.cbSize = sizeof ta; GetCurrentConsoleFontEx(GetStdHandle(STD_OUTPU

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Steven Penny
On Wed, 5 Sep 2018 09:55:28, Corinna Vinschen wrote: I added DejaVu Sans Mono per the above and to my surprise I see this: $ cat alfa.txt =EF=BF=BD So it looks like Deja Vu has a 0xfffd char. However, GetGlyphIndicesW claims otherwise: a character that DejaVu Sans Mono actually doesnt ha

Re: handling invalid user/groups (was incompat in cygwin choice of using '+' as domain and user separator.)

2018-09-05 Thread Andrey Repin
Greetings, L A Walsh! > p.s. -- some "FYI" stuff about your email: > when i respond to one of your emails, I get two (2) > "To:" entries -- both to cygwin@cygwin.com. > I think it might be because the emails from you contain > two 'Mail-Followup-To:' lines -- see b

[ANNOUNCEMENT] Updated: Cygwin 2.11.1-1

2018-09-05 Thread Corinna Vinschen
Hi folks, I uploaded a new Cygwin release 2.11.1-1. This is a bugfix release. === Bug Fixes - - Fix ".." handling in Win32 path normalization, introduced in 2.11.0. Addresses: https://cygwin.com/ml/cygwin/2018-09/ms

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Thomas Wolff
Am 05.09.2018 um 09:55 schrieb Corinna Vinschen: On Sep 4 04:40, Steven Penny wrote: On Tue, 4 Sep 2018 11:00:00, Corinna Vinschen wrote: Whereever you get DejaVu Sans Mono from. Cygwin provides it via the "dejavu-fonts" package, or you can get it here: http://dejavu-fonts.github.io My W10

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Corinna Vinschen
On Sep 4 14:40, Brian Inglis wrote: > On 2018-09-04 12:20, Steven Penny wrote: > > On Tue, 4 Sep 2018 16:18:21, Thomas Wolff wrote: > >> My vote is against the patch because the nodef glyph will often be just > >> blank > >> space which is certainly worse than ▒. > > Not according to the sample

Re: handling invalid user/groups (was incompat in cygwin choice of using '+' as domain and user separator.)

2018-09-05 Thread Corinna Vinschen
On Sep 4 13:08, L A Walsh wrote: > On 8/27/2018 10:26 AM, Corinna Vinschen wrote: > > On 8/27/2018 3:50 AM, Corinna Vinschen wrote: > > The only sane way to handle unknown SIDs in file ACLs is to ignore them > > entirely. The result will be that you never see them in getfacl, nor > > will they b

Re: Cygwin fails to utilize Unicode replacement character

2018-09-05 Thread Corinna Vinschen
On Sep 4 04:40, Steven Penny wrote: > On Tue, 4 Sep 2018 11:00:00, Corinna Vinschen wrote: > > Whereever you get DejaVu Sans Mono from. > > Cygwin provides it via the "dejavu-fonts" package, or you can get it here: > > http://dejavu-fonts.github.io > > > My W10 console only allows to specify a