在 Wed, 08 Apr 2009 00:53:09 +0800,davidl <dav...@nospam.org> 写道:


err, I tried a little bit with htod seems it always bug me with error messages. any idea?

void operator delete(void* ptr, const std::nothrow_t&) throw();
                                                               ^
d:\digitalmars\dm\include\../include/new.h(77) : Error: must be void operator delete(void * [,size_t]);
void operator delete[](void* ptr, const std::nothrow_t&) throw();
                                                                 ^
d:\digitalmars\dm\include\../include/new.h(83) : Error: must be void operator delete[](void * [,size_t]);
class nothrow_t {};


after tweaking it a bit for a while, i find the trick to bypass this error:

htod myfile.h -Iblah  -D__NEW_H

htod also need the -I stuff, it actually should get the sc.ini value

                 ^

htod seems not able to convert stlport stuff well..

alias std::std::map<unsigned ,SignatureElement ,std::less<unsigned >::std ,std::allocator<std::pair<unsigned ,SignatureElement >::std >::std > ?$...@std@IUSignatureElement@@u?$l...@std@i...@1@v?$alloca...@std@u?$p...@std@IUSignatureElement@@@1@@1@;

a bit curious why htod not using extern(C++) stuff?


--
使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/

Reply via email to