I grabbed the latest from CVS today and it fails to build on VC8 due to a scoping error that is caused by earlier versions of VC using the wrong scoping rules for for() loops.
I've attached 2 patches - one is the 'correct' way to fix the issue, ie the one that works on compilers with ANSI compliant scoping rules. The other one is the way to fix it on non-ANSI compliant compilers like VC6.
Anonymous
Fix for ANSI compliant compilers
Logged In: YES
user_id=16123
Originator: YES
File Added: FreeImage_NonANSIcompliant.patch
Fix for non-ANSI compliant compilers
Logged In: YES
user_id=613758
Originator: NO
Hi Steve,
Thanks for this patch. It has just been added to the CVS.
However, the new PSD plugin is still unstable at the moment.
Until we fix some issues, maybe the next FreeImage release will be distributed with the old PSD plugin instead of this one.
Hervé Drolon
FreeImage Project Manager
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).