Dear NG
I am using CW 9.5 + SDK 10.4 Universal and building a Mach-O
executable. The executable is supposed to rename files containing
accented characters (U umlaut, e grave and the like. Exactly,
renaming from a tem****ary, mkstemp()-generated name to a human-
friendly name)
I read CW documentation and tried to use _wrename() for the job
(using wchar_t).
First, I discovered that it's std::_wrename() which is a bit
strange to me (I thought std namespace was not open to non-standard
extensions ?)
Anyway, the code compiles with std::_rename() but won't link
(undefined symbol _wrename) The libraries linked are MSL_All_Mach-
O_D.lib (and crt1.o)
A string search for "_wrename" yielded "Find Library /
MSL_All_Carbon_D.lib" (incidently, there is no MSL_All_Mach-O_D.lib
in this folder)
So here is my question:
Is _wrename() supposed to work for Mach-O builds ? (and if so, how
do I get rid of the linker error ?) Or is it something that existed
only in Carbon ? (But then, why does it compile ?)
Thanks
_______________________________________________________
François Robert
(to mail me, reverse character order in reply address)


|