<div dir="ltr">CMake does not support "C" style string constants like that. It supports escaping of a specific set of characters with the \ character.<div><br></div><div>\\ \" \n and \$ are all valid escape sequences.</div>
<div><br></div><div>I will have to look up in the source code to see what other valid escape sequences there are, but octal strings are definitely not among them...</div><div><br></div><div><br></div><div>HTH,</div><div>David</div>
<div><br><br><div class="gmail_quote">On Fri, Oct 17, 2008 at 12:11 PM, Micha Renner <span dir="ltr"><<a href="mailto:Micha.Renner@t-online.de">Micha.Renner@t-online.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br>
<br>
what is wrong with this command:<br>
<br>
SET(INVALID_PATH_CHAR "\001\002\003\004\005\006\007\010\011\012\013\014<br>
\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036<br>
\037 \177/")<br>
<br>
Resulting error:<br>
syntax error, unexpected cal_ERROR, expecting $end (127), when parsing<br>
string "\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020<br>
\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 \177/"<br>
<br>
I do not understand the message.<br>
<br>
Michael<br>
<br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div></div>