Bug 62516

Summary: glibc C99 issue
Product: [Retired] Red Hat Public Beta Reporter: Trond Eivind Glomsrxd <teg>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: skipjack-beta1CC: fweimer
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-03 09:25:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Trond Eivind Glomsrxd 2002-04-02 00:20:16 UTC
Can't compile "hello world" if I use "-std=c99" and include <semaphore.h> in my
program... without using it.

Comment 1 Jakub Jelinek 2002-04-03 09:25:44 UTC
Ulrich point is that you should not include non-ISOC99 headers unless you
use feature macro for standard which includes the header (e.g.
-std=c99 -D_GNU_SOURCE or -std=c99 -D_XOPEN_SOURCE=500).
I'll tweak the header nevertheless.

Comment 2 Jakub Jelinek 2002-04-11 16:22:13 UTC
Fixed in glibc-2.2.5-32.