touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #03799
[Bug 988443] Re: The build problem due to header dependency [-pedantic]
** Changed in: unity (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity in Ubuntu.
https://bugs.launchpad.net/bugs/988443
Title:
The build problem due to header dependency [-pedantic]
Status in Dee:
Fix Released
Status in Unity:
Fix Released
Status in “dee” package in Ubuntu:
Fix Released
Status in “unity” package in Ubuntu:
Fix Released
Bug description:
when we compile this source code after get this tarball package
someone who uses >=gcc-4.5.x, can see like under messages.
dee-1.0.10/work/dee-1.0.10/src/dee-filter.h:33:27: error: redefinition of typedef ‘DeeFilter’
dee-1.0.10/work/dee-1.0.10/src/dee-filter-model.h:57:27: note: previous declaration of ‘DeeFilter’ was here
when we eliminate type definition from dee-filter.h
we can also see like above message.
so I suggest that
# src/dee-filter.h:33
// typedef struct _DeeFilter DeeFilter;
# src/dee-model-reader.h:33
// typedef struct _DeeFilter DeeFilter;
for eliminating circular header dependency and successsful build.
To manage notifications about this bug go to:
https://bugs.launchpad.net/dee/+bug/988443/+subscriptions