USE_TYPED_DSET incompatible with C++

Bug #1852653 reported by Andrew Johnson on 2019-11-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Low
mdavidsaver

Bug Description

/usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -DUSE_TYPED_RSET -DUSE_TYPED_DSET -DUSE_TYPED_DRVET -mtune=generic -m64 -I. -I../O.Common -I. -I. -I.. -I../../../include/compiler/gcc -I../../../include/os/Linux -I../../../include -I/C2/ioc-modules/build/BASE/7.0.2-C2-3+PH-001/include/compiler/gcc -I/C2/ioc-modules/build/BASE/7.0.2-C2-3+PH-001/include/os/Linux -I/C2/ioc-modules/build/BASE/7.0.2-C2-3+PH-001/include -c eipIoc_registerRecordDeviceDriver.cpp
In file included from /C2/ioc-modules/build/BASE/7.0.2-C2-3+PH-001/include/registryCommon.h:14:0,
                 from eipIoc_registerRecordDeviceDriver.cpp:12:
/C2/ioc-modules/build/BASE/7.0.2-C2-3+PH-001/include/devSup.h:153:20: error: conflicting declaration ‘typedef typed_dset dset’
 typedef typed_dset dset;
                    ^
In file included from /C2/ioc-modules/build/BASE/7.0.2-C2-3+PH-001/include/dbStaticLib.h:22:0,
                 from /C2/ioc-modules/build/BASE/7.0.2-C2-3+PH-001/include/registryCommon.h:13,
                 from eipIoc_registerRecordDeviceDriver.cpp:12:
/C2/ioc-modules/build/BASE/7.0.2-C2-3+PH-001/include/dbBase.h:43:9: error: ‘struct dset’ has a previous declaration as ‘struct dset’
  struct dset *pdset;
         ^

Changed in epics-base:
status: New → Confirmed
importance: Medium → Low
assignee: nobody → mdavidsaver (mdavidsaver)
mdavidsaver (mdavidsaver) wrote :

Should be fixed by 156b137af01576ada0c1cfd272b9943d2b282bf9

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers