Hi, I met such a problem about whirl2c of the open64 trunk.
For a simple hello.c file, which is, #include <stdio.h> int main (void) { printf ("hello\n"); return 0; } I compiled it with such a command, $ opencc -clist hello.c and got a huge w2c file, ... __inline _INT32 getc_unlocked( struct _IO_FILE * __fp) { register _INT32 _w2c___comma; register _INT32 _w2c___cselect; register _UINT64 _w2c_preg; if((_INT64)((_INT64) EXPECT((_UINT64)((__fp) -> _IO_read_ptr) >= (_UINT64)((__fp) -> _IO_read_end), 0LL)) != 0LL) { _w2c___comma = __uflow(__fp); _w2c___cselect = _w2c___comma; } else { _w2c_preg = (_UINT64)((__fp) -> _IO_read_ptr); (__fp) -> _IO_read_ptr = (_INT8 *) _w2c_preg + 1ULL; _w2c___cselect = (_INT32)((_INT32) * (_UINT8 *)((_INT8 *) _w2c_preg)); } return _w2c___cselect; } /* getc_unlocked */ ... This will cause the following errors when use opencc to compile the w2c file, /tmp/cco.Ygvoh2(.text+0x102): In function `getc_unlocked': : undefined reference to `EXPECT' Any comments? Thanks Mingjie ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel