[Bug c/37384] Assembler error message when building vlc-0.9.1
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Sep 6 21:40:00 GMT 2008
------- Comment #4 from pinskia at gcc dot gnu dot org 2008-09-06 21:39 -------
This code is invalid and is caused by changing C99/GNU99 extern inline to be
correct to what C99 says.
We have:
extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t
__offset) __asm__ ("" "pread64") __attribute__ ((__warn_unused_result__));
extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
__off64_t __offset) __attribute__ ((__warn_unused_result__));
extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes,
__off64_t __offset) __asm__ ("" "pread64") __attribute__
((__warn_unused_result__));
extern __inline __attribute__ ((__always_inline__)) __attribute__
((__warn_unused_result__)) ssize_t
pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
{...}
extern __inline __attribute__ ((__always_inline__)) __attribute__
((__warn_unused_result__)) ssize_t
pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
{...}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37384
More information about the Gcc-bugs
mailing list