View Issue Details

IDProjectCategoryView StatusLast Update
0005793GNUnetutil librarypublic2019-07-24 18:42
ReporterHeiko Stamer Assigned ToChristian Grothoff Due Date
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionopen 
Product VersionGit master 
Target Version0.11.6Fixed in Version0.11.6 
Summary0005793: Odd typedef in gnunet_util_lib.h
DescriptionSince last update to GIT HEAD I've got the following error:

In file included from /home/dkg-test/include/gnunet/gnunet_bio_lib.h:35:0,
                 from /home/dkg-test/include/gnunet/gnunet_util_lib.h:66,
                 from dkg-gnunet-common.hh:55,
                 from dkg-gnunet-common.cc:34:
/home/dkg-test/include/gnunet/gnunet_container_lib.h:1793:8: error: using typedef-name ‘GNUNET_CONTAINER_MultiUuidmapIterator’ after ‘struct’
 struct GNUNET_CONTAINER_MultiUuidmapIterator;
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dkg-test/include/gnunet/gnunet_container_lib.h:1616:15: note: ‘GNUNET_CONTAINER_MultiUuidmapIterator’ has a previous declaration here
 typedef int (*GNUNET_CONTAINER_MultiUuidmapIterator) (
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dkg-test/include/gnunet/gnunet_container_lib.h:1809:8: error: using typedef-name ‘GNUNET_CONTAINER_MultiUuidmapIterator’ after ‘struct’
 struct GNUNET_CONTAINER_MultiUuidmapIterator *
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dkg-test/include/gnunet/gnunet_container_lib.h:1616:15: note: ‘GNUNET_CONTAINER_MultiUuidmapIterator’ has a previous declaration here
 typedef int (*GNUNET_CONTAINER_MultiUuidmapIterator) (
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dkg-test/include/gnunet/gnunet_container_lib.h:1831:10: error: using typedef-name ‘GNUNET_CONTAINER_MultiUuidmapIterator’ after ‘struct’
   struct GNUNET_CONTAINER_MultiUuidmapIterator *iter,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dkg-test/include/gnunet/gnunet_container_lib.h:1616:15: note: ‘GNUNET_CONTAINER_MultiUuidmapIterator’ has a previous declaration here
 typedef int (*GNUNET_CONTAINER_MultiUuidmapIterator) (
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dkg-test/include/gnunet/gnunet_container_lib.h:1844:10: error: using typedef-name ‘GNUNET_CONTAINER_MultiUuidmapIterator’ after ‘struct’
   struct GNUNET_CONTAINER_MultiUuidmapIterator *iter);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/dkg-test/include/gnunet/gnunet_container_lib.h:1616:15: note: ‘GNUNET_CONTAINER_MultiUuidmapIterator’ has a previous declaration here
 typedef int (*GNUNET_CONTAINER_MultiUuidmapIterator) (
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TagsNo tags attached.

Activities

Christian Grothoff

2019-07-21 09:10

manager   ~0014715

Fixed in 4a85347dc..dfeef02bf. Thanks for reporting (your gcc is more picky than mine, it seems, in a good way).

Issue History

Date ModifiedUsernameFieldChange
2019-07-03 20:44Heiko StamerNew Issue
2019-07-21 09:00Christian GrothoffAssigned To => Christian Grothoff
2019-07-21 09:00Christian GrothoffStatusnew => assigned
2019-07-21 09:10Christian GrothoffStatusassigned => resolved
2019-07-21 09:10Christian GrothoffProduct Version => Git master
2019-07-21 09:10Christian GrothoffFixed in Version => 0.11.6
2019-07-21 09:10Christian GrothoffTarget Version => 0.11.6
2019-07-21 09:10Christian GrothoffNote Added: 0014715
2019-07-24 18:42Christian GrothoffStatusresolved => closed