View Issue Details

IDProjectCategoryView StatusLast Update
0005480GNUnethello librarypublic2019-02-28 11:17
ReporterHeiko Stamer Assigned ToChristian Grothoff  
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 21: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 Modified Username Field Change
2018-11-22 19:34 Heiko Stamer New Issue
2018-11-22 21:11 Christian Grothoff Note Added: 0013362
2018-11-22 21:11 Christian Grothoff Assigned To => Christian Grothoff
2018-11-22 21:11 Christian Grothoff Status new => resolved
2018-11-22 21:11 Christian Grothoff Resolution open => fixed
2018-11-22 21:11 Christian Grothoff Fixed in Version => 0.11.0
2018-11-22 21:11 Christian Grothoff Target Version => 0.11.0
2019-02-28 11:17 Christian Grothoff Status resolved => closed