Hi,
I am using the command line compiler v8.61 and I have an issue with this code fragment:
1: int foo(char* blah);
2:
3: void foo2(void)
4: {
5: foo(“\xDE\xAD\xBE\xEF”);
6:
7: if ( foo(“\xc0\xff\xee\x00”) )
8: {
9: }
10:
11: }
Line 5 compiles with no problems.
Line 7 complains with the following:
invalid token near line 1 (text was '"')
invalid token near line 1 (text was 'c0')
invalid token near line 1 (text was 'ff')
invalid token near line 1 (text was 'ee')
I seem to have isolated it to the use of a \x escape character in an ‘if’ statement. Is anybody aware of this issue?
Thanks
John Minack
www.xtralis.com