View Issue Details

IDProjectCategoryView StatusLast Update
0003862GNUnetutil librarypublic2018-06-07 00:25
ReporterIonbarAssigned ToChristian Grothoff 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinux x86_64OSArch LinuxOS Version4.0.5-1-ARCH
Product VersionSVN HEAD 
Target Version0.11.0pre66Fixed in Version0.11.0pre66 
Summary0003862: missing include in gnunet_crypto_lib.h
DescriptionNot sure if this is triggered in other scenarios but when I tried to compile securechat (gnunet-qt) with QT Creator I got a compile error:

/usr/include/gnunet/gnunet_crypto_lib.h:63: Fehler: use of enum 'GNUNET_SCHEDULER_Priority' without previous declaration

Following patch seems to fix it

--- /usr/include/gnunet/gnunet_crypto_lib.h 2015-06-23 18:52:28.885711360 +0200
+++ pkg/gnunet-svn/usr/include/gnunet/gnunet_crypto_lib.h 2015-06-23 16:16:54.263824172 +0200
@@ -55,7 +55,6 @@
 
 #include "gnunet_common.h"
 #include <gcrypt.h>
-#include "gnunet_scheduler_lib.h"
 
 /**
  * We need this enum here, but not the entire scheduler API.
Steps To ReproduceCompile & install gnunet from SVN.
Download gnunet-qt from SVN and try to compile it with QT Creator
Additional InformationQt Creator 3.4.1
Based on Qt 5.4.2 (GCC 5.1.0, 64 bit)
TagsNo tags attached.

Activities

Christian Grothoff

2015-06-23 19:54

manager   ~0009320

Yeah, that fix may work for QT creator, but not for our emscripten build. Anyway, I can fix it with a slightly more ugly hack so that it'll work for all cases => SVN 35969.

Issue History

Date Modified Username Field Change
2015-06-23 19:10 Ionbar New Issue
2015-06-23 19:25 amatus Category binary packages => util library
2015-06-23 19:54 Christian Grothoff Note Added: 0009320
2015-06-23 19:54 Christian Grothoff Status new => resolved
2015-06-23 19:54 Christian Grothoff Fixed in Version => 0.11.0pre66
2015-06-23 19:54 Christian Grothoff Resolution open => fixed
2015-06-23 19:54 Christian Grothoff Assigned To => Christian Grothoff
2015-06-23 19:54 Christian Grothoff Target Version => 0.11.0pre66
2018-06-07 00:25 Christian Grothoff Status resolved => closed