SFML community forums
General => Feature requests => Topic started by: Wizzard on August 26, 2008, 10:01:14 pm
-
I want to request that by default the release version of the graphics package library be compiled with STBI_FAILURE_USERMSG defined.
This will force stb_image to, instead of giving specific errors, like...
can't fopen
... give more user friendly errors, like...
Unable to open file
This would be ideal for the release version of the graphics package.
EDIT: If the above request is done, could you also change the errors in ImageLoader.cpp to contain a capital letter after 'Reason : '?
Such that...
Reason : this image format is not supported
... is changed to...
Reason : This image format is not supported
Of course, this is a matter of ill-importance compared to the initial request and definitely shouldn't be done if it causes an inconsistency in the error messages for other parts of the APIs.
-
I thought it was already done, but I'll check it.
-
Maybe it's already in the SVN, I didn't check. :oops:
EDIT: It's not in the Code::Blocks project or in the obvious places of the source files.
It still could be there somewhere, but I'm too busy to set it up to compile at the moment.
-
Okay, done ;)
Now the release builds will show user friendly error messages.
-
Thanks a ton, Laurent, and keep up the great work.