Hi all, I have a plan to convert UCN to alphabet instead of UTF8 in GCC-4.2.0, and already handled it in libcpp. But I encountered a problem when compiling the code like following: -------------------cut------------------- 1: #define str(t) #t 2: int foo() 3: { 4: char* cc = str(\u1234); 5: if (!strcmp(cc, "\u1234")) 6: abort(); 7: } -------------------cut------------------- With my changes, \u1234 is converted to alphabet in line 4 while kept in line 5. It's incorrect and also unexpected to convert it in line 4 for '#' makes it different from plain identifiers. So how could I catch the case and prevent converting it to alphabet? I believe there's someway in libcpp to handle it well. Anyone familiar with libcpp processing? Thanks in advance. Nice weekends.
-- Best wishes! Yours, Lijuan Hai _ _ (_)(_) (,,) =()= ((__)\ _|L\_______/