View Issue Details

IDProjectCategoryView StatusLast Update
0005480GNUnethello librarypublic2019-02-28 10:17
ReporterHeiko Stamer Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
OSGentoo Linux 
Product VersionGit master 
Target Version0.11.0Fixed in Version0.11.0 
Summary0005480: Incomplete type GNUNET_ATS_Network_Type
DescriptionThe build stops with

  CC hello-ng.lo
hello-ng.c:64:36: Fehler: Parameter 2 (»nt«) hat unvollständigen Typen
       enum GNUNET_ATS_Network_Type nt,
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
hello-ng.c: In Funktion »GNUNET_HELLO_extract_address«:
hello-ng.c:190:3: Fehler: Dereferenzierung eines Zeigers auf unvollständigen Typen »enum GNUNET_ATS_Network_Type«
   *nt = (enum GNUNET_ATS_Network_Type) raw_nt;
   ^~~
hello-ng.c:190:15: Fehler: Konvertierung in unvollständigen Typen
   *nt = (enum GNUNET_ATS_Network_Type) raw_nt;
               ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:816: hello-ng.lo] Fehler 1
Steps To Reproducemake
Additional InformationGCC 8.2.0
TagsNo tags attached.

Activities

Christian Grothoff

2018-11-22 20:11

manager   ~0013362

Yes, very strange. gcc was happy on my system with this, but Martin just reported the same problem. I've added the (possibly) missing #include now.

Issue History

Date ModifiedUsernameFieldChange
2018-11-22 18:34Heiko StamerNew Issue
2018-11-22 20:11Christian GrothoffNote Added: 0013362
2018-11-22 20:11Christian GrothoffAssigned To => Christian Grothoff
2018-11-22 20:11Christian GrothoffStatusnew => resolved
2018-11-22 20:11Christian GrothoffResolutionopen => fixed
2018-11-22 20:11Christian GrothoffFixed in Version => 0.11.0
2018-11-22 20:11Christian GrothoffTarget Version => 0.11.0
2019-02-28 10:17Christian GrothoffStatusresolved => closed