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

Bug#704598: marked as done (libc0.1-dev: sys/mount.h requires C99)



Your message dated Wed, 22 May 2013 06:16:06 +0200 (CEST)
with message-id <alpine.LNX.2.00.1305220612550.13087@contest.felk.cvut.cz>
and subject line fixed by upload of eglibc 2.17
has caused the Debian Bug report #704598,
regarding libc0.1-dev: sys/mount.h requires C99
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
704598: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704598
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc0.1-dev
Version: 2.13-38
Severity: normal

Hi,

currently, using sys/mount.h provided on kFreeBSD by glibc requires
compiling it with C99.

Basically, compiling a very tiny test case like:
vvvvvvvvvvv
#include <sys/mount.h>

int main(){return 0;}
^^^^^^^^^^
$ gcc -D_BSD_SOURCE -std=c90 -o mount mount.c
In file included from mount.c:1:0:
/usr/include/i386-kfreebsd-gnu/sys/mount.h:389:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'

while it succeeds when using -std=c99 (or equivalents).

-- 
Pino

--- End Message ---
--- Begin Message ---
Version: 2.17-1

eglibc (2.13-39) UNRELEASED; urgency=low

  [ Petr Salinger ]
  * patches/kfreebsd/local-initgroups-order.diff: always put supplied extra
    gid as the first entry of group list in setgroups(). Closes: #699593.
  * inline is not keyword in c89 mode, use __inline. Closes: #704598.

--- End Message ---

Reply to: