This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/18229] New: limits.h is missing _XOPEN_NAME_MAX and _XOPEN_PATH_MAX


https://sourceware.org/bugzilla/show_bug.cgi?id=18229

            Bug ID: 18229
           Summary: limits.h is missing _XOPEN_NAME_MAX and
                    _XOPEN_PATH_MAX
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: nszabolcs at gmail dot com
                CC: drepper.fsp at gmail dot com

_XOPEN_NAME_MAX and _XOPEN_PATH_MAX are required symbolic constants in limits.h

the following program fails to compile:

#define _XOPEN_SOURCE 700
#include <limits.h>
int a = _XOPEN_IOV_MAX; // see BZ #17515
int b = _XOPEN_NAME_MAX;
int c = _XOPEN_PATH_MAX;
int d = _POSIX_UIO_MAXIOV; // see BZ #17515

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]