This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/37384] Assembler error message when building vlc-0.9.1
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Sep 2008 21:39:22 -0000
- Subject: [Bug c/37384] Assembler error message when building vlc-0.9.1
- References: <bug-37384-13550@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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