public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/2363] New: EOPNOTSUPP and ENOTSUP in errno.h must be different, according to SUSv3
@ 2006-02-20  2:42 sandals at crustytoothpaste dot ath dot cx
  2006-02-20  3:04 ` [Bug libc/2363] " drepper at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: sandals at crustytoothpaste dot ath dot cx @ 2006-02-20  2:42 UTC (permalink / raw)
  To: glibc-bugs

The values of EOPNOTSUPP and ENOTSUP must be different according to SUSv3,
whereas in glibc they are the same.

Steps to Reproduce:
0. Create a source file including a switch statement with both EOPNOTSUPP and
ENOTSUP as case values.
1. Attempt to compile said file.
2. Scream in frustration.

Actual Results:
gcc complains about duplicate case values because the two errors are the same.

Expected Results:
gcc doesn't complain because there is no syntax error.

Build Date and Platform:
Debian GNU/Linux i386/sid, using libc6 2.3.6-1.

Additional Builds and Platforms:
- Also Occurs On:
  Debian GNU/Linux powerpc/sid, using libc6 2.3.6-1.

-- 
           Summary: EOPNOTSUPP and ENOTSUP in errno.h must be different,
                    according to SUSv3
           Product: glibc
           Version: 2.3.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: sandals at crustytoothpaste dot ath dot cx
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=2363

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <bug-2363-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2021-05-11 13:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-20  2:42 [Bug libc/2363] New: EOPNOTSUPP and ENOTSUP in errno.h must be different, according to SUSv3 sandals at crustytoothpaste dot ath dot cx
2006-02-20  3:04 ` [Bug libc/2363] " drepper at redhat dot com
2006-02-20  4:03 ` sandals at crustytoothpaste dot ath dot cx
2006-02-20  4:31 ` drepper at redhat dot com
2006-12-06 22:18 ` samuel dot thibault at ens-lyon dot org
     [not found] <bug-2363-131@http.sourceware.org/bugzilla/>
2020-12-27 11:32 ` nicolas at debian dot org
2021-04-30 17:24 ` jwakely.gcc at gmail dot com
2021-05-11 13:31 ` nicolas at debian dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).