This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16458] endian.h macros return integers of wrong type
- From: "jaak at ristioja dot ee" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 16 Jan 2014 15:15:55 +0000
- Subject: [Bug libc/16458] endian.h macros return integers of wrong type
- Auto-submitted: auto-generated
- References: <bug-16458-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16458
Jaak Ristioja <jaak at ristioja dot ee> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |---
--- Comment #4 from Jaak Ristioja <jaak at ristioja dot ee> ---
Indeed. But I should also get a warning from this:
#define _BSD_SOURCE
#include <endian.h>
int main() {
const long int i = 42;
const long int b = htole64(i);
return (int) b;
}
Which I don't:
$ gcc -Wall -Wextra -Wsign-conversion -Wconversion
-Wimplicit-function-declaration test5.c -c
--
You are receiving this mail because:
You are on the CC list for the bug.