Menu ▾ ▴

#11 VC8 compatibility latest CVS

closed
None
5
2012-10-31
2007-01-24
No

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.

Discussion

  • Steve Streeting

    Steve Streeting - 2007-01-24

    Fix for ANSI compliant compilers

     
  • Steve Streeting

    Steve Streeting - 2007-01-24

    Logged In: YES
    user_id=16123
    Originator: YES

    File Added: FreeImage_NonANSIcompliant.patch

     
  • Steve Streeting

    Steve Streeting - 2007-01-24

    Fix for non-ANSI compliant compilers

     
  • Hervé Drolon

    Hervé Drolon - 2007-01-27

    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

     
  • SourceForge Robot

    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).

     

Anonymous
Anonymous

Add attachments
Cancel