<div dir="ltr">What? You don't like our indentifier? Doesn't help you with all the indentifying you need to do?<div><br></div><div style>:-P</div><div style><br></div><div style><br></div><div style>D</div><div style>
<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 21, 2012 at 9:20 AM, Stephen Kelly <span dir="ltr"><<a href="mailto:steveire@gmail.com" target="_blank">steveire@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<br>
As the copy of kwsys is updated from time to time, I have two requests for<br>
the next update:<br>
<br>
 * Make it compile cleanly with -Wundef<br>
 * Add a MakeCidentifier method to SystemTools<br>
<br>
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx<br>
index 085d988..a8404b0 100644<br>
--- a/Source/kwsys/SystemTools.cxx<br>
+++ b/Source/kwsys/SystemTools.cxx<br>
@@ -4048,7 +4048,7 @@ kwsys_stl::string<br>
SystemTools::GetCurrentDateTime(const char* format)<br>
   return kwsys_stl::string(buf);<br>
 }<br>
<br>
-kwsys_stl::string SystemTools::MakeCindentifier(const char* s)<br>
+kwsys_stl::string SystemTools::MakeCidentifier(const char* s)<br>
 {<br>
   kwsys_stl::string str(s);<br>
   if (str.find_first_of("0123456789") == 0)<br>
diff --git a/Source/kwsys/<a href="http://SystemTools.hxx.in" target="_blank">SystemTools.hxx.in</a><br>
b/Source/kwsys/<a href="http://SystemTools.hxx.in" target="_blank">SystemTools.hxx.in</a><br>
index 5171125..dc09ae5 100644<br>
--- a/Source/kwsys/<a href="http://SystemTools.hxx.in" target="_blank">SystemTools.hxx.in</a><br>
+++ b/Source/kwsys/<a href="http://SystemTools.hxx.in" target="_blank">SystemTools.hxx.in</a><br>
@@ -91,8 +91,13 @@ public:<br>
    * then an underscore is prepended.  Note that this can produce<br>
    * identifiers that the standard reserves (_[A-Z].* and __.*).<br>
    */<br>
-  static kwsys_stl::string MakeCindentifier(const char* s);<br>
-<br>
+  static kwsys_stl::string MakeCindentifier(const char* s)<br>
+  {<br>
+    return this->MakeCidentifier(s);<br>
+  }<br>
+<br>
+  static kwsys_stl::string MakeCidentifier(const char* s);<br>
+<br>
<br>
<br>
Thanks,<br>
<br>
Steve.<br>
<br>
<br>
<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers</a><br>
</blockquote></div><br></div>