This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I was using the setitimer function (libc 2.2.4) and according to the options I compile with (with gcc 2.96), I got different behaviors (besides, the binaries differ too): gcc -o timer -Wall -ansi -pedantic timers.c (I get the message: "Alarm clock", and the program finishes) and gcc -o timer2 timers.c (I get the expected behavior) Matias PD.: The file is attached. PD2.: Sorry for my poor English.
Attachment:
timers.c
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |