Re: Unexpected results compiling a program containing kill(2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Miloslav,

Thanks for your answer. You're right, it is odd.

--- Vladimir

------------------------------------------------------------------------
Vladimir G. Ivanovic                        http://leonora.org/~vladimir
2770 Cowper St.                                         vladimir@xxxxxxx
Palo Alto, CA 94306-2447                                 +1 650 678 8014

>>>>> "MT" == Miloslav Trmac <mitr@xxxxxxxx> writes:

  > On Sun, Mar 09, 2003 at 11:35:49PM -0800, Vladimir G. Ivanovic wrote:
  >> gcc -std=c99 -g -Wall  -o tst tst.c

  > Odd as it is, -std=c99 causes definition of __STRICT_ANSI__, which is
  > in /usr/include/features.h interpreted as a request to make visible
  > only those parts of the library mandated by ISO C99.

  > If you want to use both -std=c99 and POSIX library features,
  > you should add
  >     #define _POSIX_C_SOURCE 200112L
  > before inclusion of any header files. This is required by the POSIX
  > standard. glibc doesn't require this unless you are compiling with
  > __STRICT_ANSI__. The number 200112L indicates currently valid version
  > of POSIX, IEEE Std. 1003.1-2001.



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux