>>>> "Valdis" == Valdis Kletnieks
<Valdis.Kletnieks(a)vt.edu> writes:
Valdis> Ouch. ;)
Valdis> The problem is that IBM defines a *MACRO* called 'memcpy',
Valdis> and we have stuck a #ifdef/#endif inside the macro call.
Valdis> As a workaround, try adding '-U__STR__' to your CFLAGS -
Valdis> this will cause string.h to not do a #define for strcpy()
Valdis> to __strcpy() - it uses this for automatic inlining
Valdis> support.
Valdis> (For the record, the same issue affects a number of other
Valdis> functions defined in string.h - basically anything the
Valdis> compiler knows how to inline.)
Valdis> I admit having no idea what the long-term fix should be.
I'm not a big fan of these "elegant" #ifdefs which break sexp movement.
But in this case, the answer is obvious. There is no long-term:
USE_KKCC is temporary. So forget issues of style, we should cater to
AIX's compiler.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
My nostalgia for Icon makes me forget about any of the bad things. I don't
have much nostalgia for Perl, so its faults I remember. Scott Gilbert c.l.py