This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libmudflap/15864] New: libmudflap/mf-hooks2.c:1586: error: dereferencing pointer to incomplete type
- From: "stephen dot crowley at sbcglobal dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jun 2004 23:24:29 -0000
- Subject: [Bug libmudflap/15864] New: libmudflap/mf-hooks2.c:1586: error: dereferencing pointer to incomplete type
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
This is from the latest cvs as of Jun 7, 2004. mf-hooks2.c v1.4 in HEAD
binutils 20040312-1 OK
cygwin 1.5.10-3 OK
gcc 3.3.1-3 OK
This looks like the same bug that affected freebsd, 12939. I'll work up a patch
and attach it here.
../.././libmudflap/mf-hooks2.c: In function `__mfwrap_gethostbyname':
../.././libmudflap/mf-hooks2.c:1267: warning: assignment discards qualifiers
from pointer target type
../.././libmudflap/mf-hooks2.c: In function `__mfwrap_dlopen':
../.././libmudflap/mf-hooks2.c:1483: warning: implicit declaration of function
'dlopen'
../.././libmudflap/mf-hooks2.c:1483: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c: In function `__mfwrap_dlclose':
../.././libmudflap/mf-hooks2.c:1499: warning: implicit declaration of function
'dlclose'
../.././libmudflap/mf-hooks2.c: In function `__mfwrap_dlerror':
../.././libmudflap/mf-hooks2.c:1511: warning: implicit declaration of function
'dlerror'
../.././libmudflap/mf-hooks2.c:1511: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c: In function `__mfwrap_dlsym':
../.././libmudflap/mf-hooks2.c:1533: warning: implicit declaration of function
'dlsym'
../.././libmudflap/mf-hooks2.c:1533: warning: assignment makes pointer from
integer without a cast
../.././libmudflap/mf-hooks2.c: In function `__mfwrap_semctl':
../.././libmudflap/mf-hooks2.c:1586: error: dereferencing pointer to incomplete type
../.././libmudflap/mf-hooks2.c:1586: error: dereferencing pointer to incomplete type
../.././libmudflap/mf-hooks2.c:1586: error: dereferencing pointer to incomplete type
../.././libmudflap/mf-hooks2.c:1586: error: dereferencing pointer to incomplete type
../.././libmudflap/mf-hooks2.c:1586: error: dereferencing pointer to incomplete type
../.././libmudflap/mf-hooks2.c:1586: error: dereferencing pointer to incomplete type
--
Summary: libmudflap/mf-hooks2.c:1586: error: dereferencing
pointer to incomplete type
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libmudflap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stephen dot crowley at sbcglobal dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-cygwin
GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15864