Unable to use POSIX.1b (aio.h) with gcc -std=c99

Bug #737756 reported by PROTECTED
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
eglibc (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The following C program, which includes the POSIX.1b header aio.h, does not compile with GCC -std=c99:

#include <aio.h>
int main(void) { }

$ gcc -std=c99 -c aio-c99.c
In file included from aio-c99.c:1:
/usr/include/aio.h:42: error: field ‘aio_sigevent’ has incomplete type

$ gcc --version:
gcc (Ubuntu/Linaro 4.4.4-14ubuntu5) 4.4.5

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libc6-dev 2.12.1-0ubuntu10.2
ProcVersionSignature: Ubuntu 2.6.35-28.49-generic-pae 2.6.35.11
Uname: Linux 2.6.35-28-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Fri Mar 18 15:55:27 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: eglibc

Revision history for this message
PROTECTED (protected-deactivatedaccount) wrote :
description: updated
description: updated
Revision history for this message
dino99 (9d9) wrote :

This is no more a supported version now

Changed in eglibc (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.