public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/43664]  New: init from incompatible pointer type: verbosity
@ 2010-04-06 11:49 jengelh at medozas dot de
  2010-04-09  2:19 ` [Bug c/43664] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: jengelh at medozas dot de @ 2010-04-06 11:49 UTC (permalink / raw)
  To: gcc-bugs

Hi,


I just had a case where proto_ops.setsockopt seems to have the same signature
as the function driver_setsockopt, but gcc barfs.

struct proto_ops p = {
  .setsockopt = driver_setsockopt,
};

227600/vsock-only/linux/af_vsock.c:361: warning: initialization from
incompatible pointer type

it would be nice if it told which type was used, and which type was expected,
because I am pretty sure the compiler is right and I just did not find the
right source file.


-- 
           Summary: init from incompatible pointer type: verbosity
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jengelh at medozas dot de
 GCC build triplet: any
  GCC host triplet: any
GCC target triplet: any


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43664


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/43664] init from incompatible pointer type: verbosity
  2010-04-06 11:49 [Bug c/43664] New: init from incompatible pointer type: verbosity jengelh at medozas dot de
@ 2010-04-09  2:19 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-04-09  2:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-04-09 02:19 -------


*** This bug has been marked as a duplicate of 37724 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43664


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-09  2:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-06 11:49 [Bug c/43664] New: init from incompatible pointer type: verbosity jengelh at medozas dot de
2010-04-09  2:19 ` [Bug c/43664] " pinskia at gcc dot gnu 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).