Re: Problem with the SDK in Apple Darwin
Appu wrote:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/bits/
stl_algobase.h: In static member function 'static _Tp*
std::__copy<true, std::random_access_iterator_tag>::copy(const _Tp*,
const _Tp*, _Tp*)':
I'm not sure what this is, but I guess it's the std::copy implementation
that operates on two pointers to PODs....
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/bits/
stl_algobase.h:300: error: 'memmove' is not a member of 'std'
....and where the developers of that standardlibrary simply forgot to include
the header that declares memmove (I think it is in <cstring>, but I'm not
sure). IOW, this might go away if you include this header before using
std::copy on a POD.
[290 lines of errors]
Could you in future try to reduce this to only one error? Preferably, you
also create a minimal test case for it and post the code here. This is kind
of arrogant that you throw almost three hundred lines at the audience
without first trying to extract the important parts.
It shows erros in the Apple SDK. But same SDK for other apple based
applications working fine.
Well, just change the includes or include order and it will probably work.
Also, don't forget to file a bug report. Oh, you did check the bugtracking
system for that problem, right?
Uli
--
Sator Laser GmbH
Gesch??ftsf??hrer: Ronald Boers, Amtsgericht Hamburg HR B62 932
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]