This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++: where is operator delete(void*, size_t)?


While trying to port loki, the nightmare for every compiler vendor,
I stumbled over an error message:

no matching function for call to `operator delete(void*&,
   size_t&)'
/opt/gcc-3.0.1/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/new:78:
candidates
   are: void operator delete(void*)
/opt/gcc-3.0.1/lib/gcc-lib/i686-pc-linux-gnu/3.0.1/include/g++/new:82:
          void operator delete(void*, const std::nothrow_t&)

Don't we have such an operator?
Am I missing a using declaration in my code?
Isn't this part of the standard?



Markus



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]