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) { cout<<"in para "

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 group

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 th

[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 avai

[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 floatin

[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 cygwin-1.17,

[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 g

[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 is

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 file

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 int main(void) { printf("hello!\n"); return 0; } $export LANG=C $ gcc hello.c /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libc

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 int main(void) { printf("hello!\n"); return 0; } $export LANG=C $ gcc hello.c /usr/lib/gcc/i686-pc-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

Re: g++ no warning about uninitialized variables

2013-04-19 Thread marco atzeri
On 4/19/2013 1:07 PM, David wrote: I am using eclipse and gnu. (Maybe my version is to old.) I have struct MyStruct { int a0,a1; }; void afunc(int &t) { cout<<"in para "< likely your makefile is swallowing the output. g++ -Wall -pedantic prova.cpp -o prova prova.cpp: In function ‘int ma