Muhammad Haggag - 2003-07-10

Hi there,
I'd like to say that I really like devIL, it saves me loads of time. However, I've come across something very annoying:

non-const methods:
Many of the methods of ilImage aren't declared const while they should be, for example:
ilImage::Width()/Height()/Bpp()/...etc
All these should be const, but they're not.
Is this by design? I mean do these methods really modify anything?

non-const parameters:
The parameter for ilImage::Load() is a "char *", not a "const char*".
I use std::string's to hold my data, and when I get them using c_str(), I get a compiler error:
Cannot convert from "const char*" to "char*"
The methods obviously shouldn't modify the passed name, so it should be const.

Hope this gets fixed soon, thanks :)