[Bug 271700] cc with rpc/pmap_prot.h and machine/pmap.h: different structures with the same name are used.
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271700] cc with rpc/pmap_prot.h and machine/pmap.h: different structures with the same name are used."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 271700] cc with rpc/pmap_prot.h and machine/pmap.h: different structures with the same name are used."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 May 2023 05:54:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271700
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.
#####
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.
--
You are receiving this mail because:
You are the assignee for the bug.