#10 [PATCH] 1.1 missing includes

open
nobody
None
5
2009-12-30
2009-12-30
Jari Aalto
No

The patch
- Program does not compile with g++ due to missing #include
- Fix includes

$ g++ --version
g++ (Debian 4.3.4-6) 4.3.4

...
mlchckr.cc: In function 'void* operator new(size_t)':
mlchckr.cc:117: error: 'malloc' was not declared in this scope
mlchckr.cc: In function 'void* operator new [](size_t)':
mlchckr.cc:145: error: 'malloc' was not declared in this scope
mlchckr.cc: In function 'void operator delete(void*)':
mlchckr.cc:196: error: 'free' was not declared in this scope
mlchckr.cc: In function 'void operator delete [](void*)':
mlchckr.cc:230: error: 'free' was not declared in this scope

Discussion

  • Jari Aalto
    Jari Aalto
    2009-12-30