aboutsummaryrefslogtreecommitdiff
path: root/Gem
diff options
context:
space:
mode:
Diffstat (limited to 'Gem')
-rwxr-xr-xGem/Gem.pd_linuxbin28637580 -> 28639844 bytes
-rw-r--r--Gem/develop/include/Gem/Gem/GLStack.h5
-rw-r--r--Gem/develop/include/Gem/Utils/any.h18
-rwxr-xr-xGem/gem_filmAVIPLAY.sobin166673 -> 166657 bytes
-rwxr-xr-xGem/gem_filmGMERLIN.sobin146947 -> 146947 bytes
-rwxr-xr-xGem/gem_filmMPEG3.sobin174458 -> 174450 bytes
-rwxr-xr-xGem/gem_filmQT4L.sobin163647 -> 163639 bytes
-rwxr-xr-xGem/gem_imageJPEG.sobin178250 -> 178250 bytes
-rwxr-xr-xGem/gem_imageMAGICK.sobin256783 -> 256791 bytes
-rwxr-xr-xGem/gem_imageSGI.sobin224649 -> 224649 bytes
-rwxr-xr-xGem/gem_imageTIFF.sobin278694 -> 278710 bytes
-rwxr-xr-xGem/gem_modelOBJ.sobin617065 -> 617073 bytes
-rwxr-xr-xGem/gem_recordQT4L.sobin427725 -> 427725 bytes
-rwxr-xr-xGem/gem_recordV4L.sobin99944 -> 99944 bytes
-rwxr-xr-xGem/gem_recordV4L2.sobin102539 -> 102539 bytes
-rwxr-xr-xGem/gem_videoV4L.sobin458875 -> 458891 bytes
-rwxr-xr-xGem/gem_videoV4L2.sobin552769 -> 552809 bytes
-rwxr-xr-xGem/gem_videoVNC.sobin220801 -> 220625 bytes
18 files changed, 19 insertions, 4 deletions
diff --git a/Gem/Gem.pd_linux b/Gem/Gem.pd_linux
index 37f0de3..b68db8d 100755
--- a/Gem/Gem.pd_linux
+++ b/Gem/Gem.pd_linux
Binary files differ
diff --git a/Gem/develop/include/Gem/Gem/GLStack.h b/Gem/develop/include/Gem/Gem/GLStack.h
index 2584578..4c9037c 100644
--- a/Gem/develop/include/Gem/Gem/GLStack.h
+++ b/Gem/develop/include/Gem/Gem/GLStack.h
@@ -65,7 +65,12 @@ class GEM_EXTERN GLStack {
private:
class Data;
+ // try using unique_ptr<> if it is supported
+#if __cplusplus < 201103L
std::auto_ptr<Data>data;
+#else
+ std::unique_ptr<Data>data;
+#endif
};
} /* namespace gem */
diff --git a/Gem/develop/include/Gem/Utils/any.h b/Gem/develop/include/Gem/Utils/any.h
index fc66b46..dff11bb 100644
--- a/Gem/develop/include/Gem/Utils/any.h
+++ b/Gem/develop/include/Gem/Utils/any.h
@@ -132,12 +132,19 @@ namespace gem
template <typename T>
any(const T& x) : table(NULL), object(NULL) {
table = any_detail::get_table<T>::get();
+#if defined(__GNUC__) && __GNUC__ >= 6
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wplacement-new"
+#endif
if (sizeof(T) <= sizeof(void*)) {
new(&object) T(x);
}
else {
object = new T(x);
}
+#if defined(__GNUC__) && __GNUC__ >= 6
+# pragma GCC diagnostic pop
+#endif
}
any(void) : table(NULL), object(NULL) {
@@ -181,14 +188,16 @@ namespace gem
if (table == x_table) {
// if so, we can avoid deallocating and resuse memory
+#if defined(__GNUC__) && __GNUC__ >= 6
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wplacement-new"
+#endif
if (sizeof(T) <= sizeof(void*)) {
// create copy on-top of object pointer itself
-
new(&object) T(x);
}
else {
// create copy on-top of old version
-
new(object) T(x);
}
}
@@ -196,16 +205,17 @@ namespace gem
reset();
if (sizeof(T) <= sizeof(void*)) {
// create copy on-top of object pointer itself
-
new(&object) T(x);
// update table pointer
-
table = x_table;
}
else {
object = new T(x);
table = x_table;
}
+#if defined(__GNUC__) && __GNUC__ >= 6
+# pragma GCC diagnostic pop
+#endif
}
return *this;
}
diff --git a/Gem/gem_filmAVIPLAY.so b/Gem/gem_filmAVIPLAY.so
index 3a9a123..ddec087 100755
--- a/Gem/gem_filmAVIPLAY.so
+++ b/Gem/gem_filmAVIPLAY.so
Binary files differ
diff --git a/Gem/gem_filmGMERLIN.so b/Gem/gem_filmGMERLIN.so
index 0b9eb5e..d198264 100755
--- a/Gem/gem_filmGMERLIN.so
+++ b/Gem/gem_filmGMERLIN.so
Binary files differ
diff --git a/Gem/gem_filmMPEG3.so b/Gem/gem_filmMPEG3.so
index 0e65189..ee4ef11 100755
--- a/Gem/gem_filmMPEG3.so
+++ b/Gem/gem_filmMPEG3.so
Binary files differ
diff --git a/Gem/gem_filmQT4L.so b/Gem/gem_filmQT4L.so
index 158ce03..12c7b9b 100755
--- a/Gem/gem_filmQT4L.so
+++ b/Gem/gem_filmQT4L.so
Binary files differ
diff --git a/Gem/gem_imageJPEG.so b/Gem/gem_imageJPEG.so
index 7e55dd4..61fc52d 100755
--- a/Gem/gem_imageJPEG.so
+++ b/Gem/gem_imageJPEG.so
Binary files differ
diff --git a/Gem/gem_imageMAGICK.so b/Gem/gem_imageMAGICK.so
index 064b179..1ca4db7 100755
--- a/Gem/gem_imageMAGICK.so
+++ b/Gem/gem_imageMAGICK.so
Binary files differ
diff --git a/Gem/gem_imageSGI.so b/Gem/gem_imageSGI.so
index 6cf0021..6f07346 100755
--- a/Gem/gem_imageSGI.so
+++ b/Gem/gem_imageSGI.so
Binary files differ
diff --git a/Gem/gem_imageTIFF.so b/Gem/gem_imageTIFF.so
index 3340968..e79b09a 100755
--- a/Gem/gem_imageTIFF.so
+++ b/Gem/gem_imageTIFF.so
Binary files differ
diff --git a/Gem/gem_modelOBJ.so b/Gem/gem_modelOBJ.so
index 0b982eb..f264739 100755
--- a/Gem/gem_modelOBJ.so
+++ b/Gem/gem_modelOBJ.so
Binary files differ
diff --git a/Gem/gem_recordQT4L.so b/Gem/gem_recordQT4L.so
index bfed282..7f08934 100755
--- a/Gem/gem_recordQT4L.so
+++ b/Gem/gem_recordQT4L.so
Binary files differ
diff --git a/Gem/gem_recordV4L.so b/Gem/gem_recordV4L.so
index c338163..b9df877 100755
--- a/Gem/gem_recordV4L.so
+++ b/Gem/gem_recordV4L.so
Binary files differ
diff --git a/Gem/gem_recordV4L2.so b/Gem/gem_recordV4L2.so
index 15d03f7..4a80dbe 100755
--- a/Gem/gem_recordV4L2.so
+++ b/Gem/gem_recordV4L2.so
Binary files differ
diff --git a/Gem/gem_videoV4L.so b/Gem/gem_videoV4L.so
index 68707c2..c756a31 100755
--- a/Gem/gem_videoV4L.so
+++ b/Gem/gem_videoV4L.so
Binary files differ
diff --git a/Gem/gem_videoV4L2.so b/Gem/gem_videoV4L2.so
index 87f0981..013a653 100755
--- a/Gem/gem_videoV4L2.so
+++ b/Gem/gem_videoV4L2.so
Binary files differ
diff --git a/Gem/gem_videoVNC.so b/Gem/gem_videoVNC.so
index b938250..6d42c8a 100755
--- a/Gem/gem_videoVNC.so
+++ b/Gem/gem_videoVNC.so
Binary files differ