Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2023 05:54:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271700] cc with rpc/pmap_prot.h and machine/pmap.h: different structures with the same name are used.
Message-ID:  <bug-271700-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271700

            Bug ID: 271700
           Summary: cc with rpc/pmap_prot.h and machine/pmap.h: different
                    structures with the same name are used.
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: Leo_Vlassov@yahoo.com

at 13.1 and 13.2 OS versions

%: cc -c superbl.c
In file included from superbl.c:22:
In file included from /usr/include/rpc/rpc.h:74:
/usr/include/rpc/pmap_prot.h:90:8: error: redefinition of 'pmap'
struct pmap {
       ^
/usr/include/machine/pmap.h:380:8: note: previous definition is here
struct pmap {
       ^
1 error generated.=20

#####
In rpc/pmap_prot.h:90:8: the structure `pmap' is different of machine/pmap.h
the structure `pmap'....


It's a bug? -- different structures with the same name are used.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271700-227>