htod not support stlport stuff good enough

Clay Smith clayasaurus at gmail.com
Tue Apr 7 10:08:27 PDT 2009


davidl wrote:
> 
> 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
> 
>                 ^

# Declarations with C++ linkage cannot be converted. A C interface must 
be made for any C++ code.

http://www.digitalmars.com/d/2.0/htod.html Limitations



More information about the Digitalmars-d mailing list