Dear NG
I need to add to a Photoshop plugin a function that takes an std::string
argument and creates a folder hierarchy using mkdir(). I am starting to
think this is not doable with CW 9.5 :
Config : I have CW 9.5 + Mac OSX Universal SDK 10.4
Issue : The following two lines will not compile :
#include <fstat.h>
#include <string>
with access paths set to
{Compiler}MSL/MSL_C (recursive)
{Compiler}MSL/MSL_C++ (recursive)
{Compiler}MSL/MSL_Extras/MSL_Common (recursive)
{OS X Volume}usr/include (not recursive)
Symptom : CW complains that identifier dev_t is redeclared (and gid_t
etc...)
I have exhausted all the combinations of access path order / #include
order etc : No matter what, some identifier is redefined or missing or
some include path is not found.
My question is thus:
What should be the target settings / #include order to compile those two
lines (which are merely a prerequisite for writing the function I need)
?
I believe that the problem is much deeper than it seems and that I am
unwittingly mixing MSL headers with BSD headers and that this is not
sup****ted by CW (or at least only partially sup****ted). However, I
cannot figure where this happens and how to avoid it.
Thanks for your help.
_______________________________________________________
François Robert
(to mail me, reverse character order in reply address)