[Bro-Dev] Fwd: [REL - 10amd64-default][security/bro] Failed for bro-2.2 in build

Robin Sommer robin at icir.org
Tue Dec 3 08:09:54 PST 2013


Which clang version is this? I've tried it with a recent version of
the clang 3.4 release branch, and that works fine for me.

But based on the error message, I'm attaching a patch; does that help
by any chance?

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 *     robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 * www.icir.org/robin
-------------- next part --------------
diff --git a/src/logging/writers/SQLite.cc b/src/logging/writers/SQLite.cc
index 46d1f17..25f5cb0 100644
--- a/src/logging/writers/SQLite.cc
+++ b/src/logging/writers/SQLite.cc
@@ -126,7 +126,7 @@ bool SQLite::DoInit(const WriterInfo& info, int arg_num_fields,
 	fullpath.append(".sqlite");
 	string tablename;
 
-	map<const char*, const char*>::const_iterator it = info.config.find("tablename");
+	WriterInfo::config_map::const_iterator it = info.config.find("tablename");
 	if ( it == info.config.end() )
 		{
 		MsgThread::Info(Fmt("tablename configuration option not found. Defaulting to path %s", info.path));



More information about the bro-dev mailing list