g++ no warning about uninitialized variables

2013-04-19 Thread David
I am using eclipse and gnu. (Maybe my version is to old.) I have struct MyStruct { int a0,a1; }; void afunc(int t) { coutin para tendl; t=5; } int main() { int a, b,c; MyStruct k; afunc(a); b=c+1; coutb bendl; afunc(b); k.a0=k.a1+a; coutk.a0 k.a0; afunc(k.a1); } As you can see

Re: g++ no warning about uninitialized variables

2013-04-19 Thread David
One got to use -O or -O1 as option to g++ -O0 will not do. By the way it is really limited to what extent the compiler can track down uninitialized variables. Den 19-04-2013 13:07, David skrev: I am using eclipse and gnu. (Maybe my version is to old.) I have struct MyStruct { int a0,a1;

(gdb ) r test -a1 -a2 test.log will not work with boost. Why?

2013-04-19 Thread David
I have used boost::program_options and when I try to run the application in the debugger I get: (gdb) r test -a1 -a2 test.log The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /cygdrive/c/Users/dbj/Debug/test.exe -a1 -a2 test.log

Re: sshd service will not start on Windows 7

2013-04-19 Thread Larry Hall (Cygwin)
On 4/18/2013 8:41 PM, b45710n wrote: Jamie Stallwood wrote I found, by enabling shell logon for cyg_server and then running sshd, that /etc/ssh*_key permissions were too lax. use the command: chmod g-rwx /etc/ssh*_key to fix these permissions. What does that command do? It removes the

ln -s do not work

2013-04-19 Thread Arthur Tu
After I did this: $ ln -s Repos/bugn/ Projects/ A file named `bugn` is created under Projects, as it is said in the cygwin documentation. However, cygwin does recognise `bugn` as a link file, while can't determine where it point to. I draged the file to notepad.exe, and see following text:

Re: ln -s do not work

2013-04-19 Thread Gary Johnson
On 2013-04-20, Arthur Tu wrote: After I did this: $ ln -s Repos/bugn/ Projects/ A file named `bugn` is created under Projects, as it is said in the cygwin documentation. However, cygwin does recognise `bugn` as a link file, while can't determine where it point to. I draged the file to

[ANNOUNCEMENT] Updated: gmp-5.1.1-1 (test)

2013-04-19 Thread Achim Gratz
GNU Multiple Precision Arithmetic Library = GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is no practical limit to the precision except the ones implied by the

[ANNOUNCEMENT] Updated: mpfr-3.1.2-1 (test)

2013-04-19 Thread Achim Gratz
The MPFR Library The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). It is based on the GMP multiple-precision library. The main goal of MPFR is to provide a library for multiple-precision

[ANNOUNCEMENT] Updated: mpclib-1.0.1-2 (test)

2013-04-19 Thread Achim Gratz
The MPFC Library The MPFR library is a C library for multiple-precision complex floating point computations with exact rounding (also called correct rounding). It is built on the GMP and MPFR multiple-precision libraries. - version 1.0.1-2 - - recompiled with

[ANNOUNCEMENT] Updated: ppl-0.11.2-1 (test)

2013-04-19 Thread Achim Gratz
The Parma Polyhedra Library === The Parma Polyhedra Library is a C++ library for (not necessarily closed) convex polyhedra and other numerical abstractions. - version 0.11.2-1 - - recompiled with cygwin-1.17, gcc4-4.7.2-2 and binutils 2.23.51-1 - test package for

[ANNOUNCEMENT] Updated: cloog-ppl-0.15.11-1 (test)

2013-04-19 Thread Achim Gratz
ClooG - The Chunky Loop Generator = CLooG is a software which generates loops for scanning Z-polyhedra. That is, CLooG finds the code or pseudo-code where each integral point of one or more parametrized polyhedron or parametrized polyhedra union is reached. CLooG

Re: ln -s do not work

2013-04-19 Thread Arthur Tu
Solved. Thank you very much~ On 4/20/2013 1:44 AM, Gary Johnson wrote: On 2013-04-20, Arthur Tu wrote: After I did this: $ ln -s Repos/bugn/ Projects/ A file named `bugn` is created under Projects, as it is said in the cygwin documentation. However, cygwin does recognise `bugn` as a link

Why can't I compile HelloWorld ?

2013-04-19 Thread 1xx
Hi all! I started gcc for the first time in one month. I have noticed that the compiler does not operate correctly. $ cat hello.c #include stdio.h int main(void) { printf(hello!\n); return 0; } $export LANG=C $ gcc hello.c

Re: Why can't I compile HelloWorld ?

2013-04-19 Thread marco atzeri
On 4/20/2013 7:24 AM, 1xx wrote: Hi all! I started gcc for the first time in one month. I have noticed that the compiler does not operate correctly. $ cat hello.c #include stdio.h int main(void) { printf(hello!\n); return 0; } $export LANG=C $ gcc hello.c

Re: `perldoc` and terminal size

2013-04-19 Thread Andy Koppe
On 18 April 2013 22:27, terminatorul wrote: Hello I am using `perldoc` to read the perl manual pages.I can use the black background it gives in mintty with a full-screen console, with low light intensity so I can read it during night o I can use the black background in mintty with a

Re: [RFU] (gcc-4.7.2-2 test) gmp

2013-04-19 Thread Corinna Vinschen
On Apr 18 19:32, Achim Gratz wrote: Test packages built with gcc-4.7.2-2, please upload as test and leave current and previous unchanged. The bundled setup.hint files only set the test version, I hope this works as intended with upset. # The first line sets up shell variable wget, to be used

Re: [RFU] (gcc-4.7.2-2 test) gmp

2013-04-19 Thread Yaakov (Cygwin/X)
On 2013-04-19 03:03, Corinna Vinschen wrote: Uploaded. The libgmp10/setup.hint file was missing a test: line. I added that on cygwin.com. I just uploaded the rest. Yaakov

Re: [RFU] (gcc-4.7.2-2 test) ppl

2013-04-19 Thread Yaakov (Cygwin/X)
On 2013-04-18 12:37, Achim Gratz wrote: $wget/ppl/libppl-devel/setup.hint FYI, there is no obsoletes: tag. I created the necessary upgrade helper for ppl-devel and marked it as test:. Yaakov

[GOLDSTAR] for gmp/mpfr/mpclib/ppl/cloog-ppl (was Re: [RFU] (gcc-4.7.2-2 test) gmp)

2013-04-19 Thread Corinna Vinschen
On Apr 19 03:06, Yaakov (Cygwin/X) wrote: On 2013-04-19 03:03, Corinna Vinschen wrote: Uploaded. The libgmp10/setup.hint file was missing a test: line. I added that on cygwin.com. I just uploaded the rest. Can we get a few goldstar's here for Achim? Thanks, Corinna -- Corinna Vinschen

Re: [RFU 64bit] sqlite3-3.7.16.2-1

2013-04-19 Thread Corinna Vinschen
On Apr 18 09:17, Corinna Vinschen wrote: On Apr 17 15:00, Warren Young wrote: From within release/sqlite3: wget -e robots=off --cut-dirs=2 -np -nH -A'*3.7.16.2-1*' -A'*.hint' \ -r http://etr-usa.com/cygwin64/sqlite3/ Uploaded. Just a tiny hiccup: The sqlite3 package has

[HEADSUP] Please try to build your packages for 64 bit

2013-04-19 Thread Corinna Vinschen
Hi maintainers, the 64 bit Cygwin seems to be quite stable now. We're still suffering from a gcc problem which seems to affect C++ inline methods using templates, so some C++ packages might not be buildable yet(*), but other than that it looks pretty good. I would like to ask those of you

Re: [ITA] grace

2013-04-19 Thread Andrew Schulman
On Thu, 3 Jan 2013 19:23:16 -0600, Yaakov (Cygwin/X) wrote: Volker Quetschke is listed as the maintainer of grace, but he seems to be MIA[1] and this package requires an immediate rebuild for Motif[2]. In order to fix this package, here we go: This got caught up together with my

Re: [ITA] postgresql-9.2.2-1

2013-04-19 Thread Andrew Schulman
following Reini's request: http://cygwin.com/ml/cygwin/2013-01/msg00134.html Gold star awarded: http://cygwin.com/goldstars/#MA

Re: [GOLDSTAR] for gmp/mpfr/mpclib/ppl/cloog-ppl (was Re: [RFU] (gcc-4.7.2-2 test) gmp)

2013-04-19 Thread Andrew Schulman
On Apr 19 03:06, Yaakov (Cygwin/X) wrote: On 2013-04-19 03:03, Corinna Vinschen wrote: Uploaded. The libgmp10/setup.hint file was missing a test: line. I added that on cygwin.com. I just uploaded the rest. Can we get a few goldstar's here for Achim? And let's not forget ucl/upx.

Re: [RFU 64bit] sqlite3-3.7.16.2-1

2013-04-19 Thread Warren Young
On 4/19/2013 03:32, Corinna Vinschen wrote: Just a tiny hiccup: The sqlite3 package has libncurses10 in the requires line, but the 64bit release only provides libncursesw10. Just, FYI. Yaakov fixed that on cygwin.com. I've fixed this by making use of Cygport's new setup.hint generation

Re: [RFU] (gcc-4.7.2-2 test) ppl

2013-04-19 Thread Achim Gratz
Yaakov (Cygwin/X) writes: On 2013-04-18 12:37, Achim Gratz wrote: $wget/ppl/libppl-devel/setup.hint FYI, there is no obsoletes: tag. I created the necessary upgrade helper for ppl-devel and marked it as test:. Thanks. Since I guess this will come up again, could you please explain what

Re: [RFU] (gcc-4.7.2-2 test) gmp

2013-04-19 Thread Achim Gratz
Corinna Vinschen writes: Uploaded. The libgmp10/setup.hint file was missing a test: line. I added that on cygwin.com. Thank you for fixing that. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf rackAttack V1.04R1:

Re: [GOLDSTAR] for gmp/mpfr/mpclib/ppl/cloog-ppl (was Re: [RFU] (gcc-4.7.2-2 test) gmp)

2013-04-19 Thread Achim Gratz
Andrew Schulman writes: http://cygwin.com/goldstars/#AG Glad to be of service. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds

Re: [HEADSUP] Please try to build your packages for 64 bit

2013-04-19 Thread Achim Gratz
Corinna Vinschen writes: the 64 bit Cygwin seems to be quite stable now. We're still suffering from a gcc problem which seems to affect C++ inline methods using templates, so some C++ packages might not be buildable yet(*), but other than that it looks pretty good. I'll update my 64bit

Re: [HEADSUP] Please try to build your packages for 64 bit

2013-04-19 Thread Corinna Vinschen
Hi Achim, On Apr 19 20:00, Achim Gratz wrote: Corinna Vinschen writes: the 64 bit Cygwin seems to be quite stable now. We're still suffering from a gcc problem which seems to affect C++ inline methods using templates, so some C++ packages might not be buildable yet(*), but other than

Re: [RFU] (gcc-4.7.2-2 test) ppl

2013-04-19 Thread Corinna Vinschen
On Apr 19 19:55, Achim Gratz wrote: Yaakov (Cygwin/X) writes: On 2013-04-18 12:37, Achim Gratz wrote: $wget/ppl/libppl-devel/setup.hint FYI, there is no obsoletes: tag. I created the necessary upgrade helper for ppl-devel and marked it as test:. Thanks. Since I guess this will come

Re: [HEADSUP] Please try to build your packages for 64 bit

2013-04-19 Thread Achim Gratz
Corinna Vinschen writes: Strange that nobody did it so far. If it's any consolation, no 64bit formats are supported, not just PE+. Somebody's been rumoured to have worked (and then stopped working) on x86_64 support, but I haven't found any traces of actual code yet. It should be rather

Re: [HEADSUP] Please try to build your packages for 64 bit

2013-04-19 Thread Ken Brown
On 4/19/2013 6:45 AM, Corinna Vinschen wrote: texlive texlive-collection-bibtexextra texlive-collection-binextra texlive-collection-latexextra texlive-collection-mathextra The 64-bit distro is still missing a few build dependencies for texlive: clisp libgd-devel

Re: OpenGL application performance and ghost windows remaining

2013-04-19 Thread Daniel Humphreys
Hi I've done some more testing... I can confirm that my application doesn't work (i.e. I get the same problem) with: Cygwin/X, VcXsrv and MobaXterm (tried all combinations of settings) However it does work with Xming.. What is in Xming that isn't in the others or is it a setting/command line

Updated: gmp-5.1.1-1 (test)

2013-04-19 Thread Achim Gratz
GNU Multiple Precision Arithmetic Library = GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is no practical limit to the precision except the ones implied by the

Updated: mpfr-3.1.2-1 (test)

2013-04-19 Thread Achim Gratz
The MPFR Library The MPFR library is a C library for multiple-precision floating-point computations with exact rounding (also called correct rounding). It is based on the GMP multiple-precision library. The main goal of MPFR is to provide a library for multiple-precision

Updated: mpclib-1.0.1-2 (test)

2013-04-19 Thread Achim Gratz
The MPFC Library The MPFR library is a C library for multiple-precision complex floating point computations with exact rounding (also called correct rounding). It is built on the GMP and MPFR multiple-precision libraries. - version 1.0.1-2 - - recompiled with

Updated: ppl-0.11.2-1 (test)

2013-04-19 Thread Achim Gratz
The Parma Polyhedra Library === The Parma Polyhedra Library is a C++ library for (not necessarily closed) convex polyhedra and other numerical abstractions. - version 0.11.2-1 - - recompiled with cygwin-1.17, gcc4-4.7.2-2 and binutils 2.23.51-1 - test package for

Updated: cloog-ppl-0.15.11-1 (test)

2013-04-19 Thread Achim Gratz
ClooG - The Chunky Loop Generator = CLooG is a software which generates loops for scanning Z-polyhedra. That is, CLooG finds the code or pseudo-code where each integral point of one or more parametrized polyhedron or parametrized polyhedra union is reached. CLooG