This is a mini-patch. You might want to add additional #ifdefs around
the #pragmas and only disable warnings when not building the client or
server library.
Cheers,
Andreas
Stefan Eilemann wrote:
Hi Andreas,
On 22. Dec 2009, at 9:09, Andreas Kirsch (in.tum) wrote:
disable those warnings in eq/eq.h? I think its possible to
push and pop disable warning #pragmas.
Good idea - can you send me a patch?
Best,
Stefan.
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com
Index: eq.h
===================================================================
--- eq.h (revision 3445)
+++ eq.h (working copy)
@@ -18,6 +18,9 @@
#ifndef EQ_H
#define EQ_H
+#pragma warning(push)
+#pragma warning(disable : 4244)
+
#include <eq/base/defines.h>
#include <eq/client/channelStatistics.h>
@@ -78,4 +81,6 @@
\htmlinclude "RelNotes.dox"
*/
+#pragma warning(pop)
+
#endif // EQ_H
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com