Skip to content

Instantly share code, notes, and snippets.

View szaffarano's full-sized avatar

Sebastián Zaffarano szaffarano

  • Elastic
  • Stockholm, Sweden
  • 18:45 (UTC +02:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am szaffarano on github.
  • I am szaffarano (https://keybase.io/szaffarano) on keybase.
  • I have a public key whose fingerprint is 59B4 592A 2AF5 AC94 5031 AE0E E76F F301 9288 B39F

To claim this, I am signing this object:

@szaffarano
szaffarano / test-error.tgz
Last active January 1, 2016 23:49
Error with multiple libraries added with link_directories command
diff --git a/src/deviceManager.cpp b/src/deviceManager.cpp
index a1dbac1..2b4668e 100644
--- a/src/deviceManager.cpp
+++ b/src/deviceManager.cpp
@@ -29,6 +29,19 @@
#include <algorithm>
#include <string>
+// from http://stackoverflow.com/questions/11635/case-insensitive-string-comparison-in-c
+bool icompare(const string& str1, const string& str2) {