Hello,
the attached tiny patch fixes the following compilation problem:
------------------------------------------------------------
cc1plus: warnings being treated as errors
In file included from
/home/lambers/equalizer-svn/examples/include/tclap/SwitchArg.h:30,
from
/home/lambers/equalizer-svn/examples/include/tclap/CmdLine.h:26,
from
/home/lambers/equalizer-svn/examples/eqPly/localInitData.cpp:39:
/home/lambers/equalizer-svn/examples/include/tclap/Arg.h:188: error:
type qualifiers ignored on function return type
/home/lambers/equalizer-svn/examples/include/tclap/Arg.h:193: error:
type qualifiers ignored on function return type
make[2]: *** [examples/eqPly/CMakeFiles/eqPly.dir/localInitData.cpp.o]
Error 1
make[1]: *** [examples/eqPly/CMakeFiles/eqPly.dir/all] Error 2
make: *** [all] Error 2
------------------------------------------------------------
Martin
--
Computer Graphics and Multimedia Systems Group
University of Siegen, Germany
http://www.cg.informatik.uni-siegen.de/
Index: examples/include/tclap/Arg.h
===================================================================
--- examples/include/tclap/Arg.h (revision 4936)
+++ examples/include/tclap/Arg.h (working copy)
@@ -185,12 +185,12 @@
* Currently set to '*', which shouldn't cause many problems since
* *'s are expanded by most shells on the command line.
*/
- static const char blankChar() { return '*'; }
+ static char blankChar() { return '*'; }
/**
* The char that indicates the beginning of a flag. Currently '-'.
*/
- static const char flagStartChar() { return '-'; }
+ static char flagStartChar() { return '-'; }
/**
* The sting that indicates the beginning of a flag. Currently "-".
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com