Hi Armindo

This is really weird.  How can be same code working without 
optimization, and suddenly stops to work when optimized? 

Sounds like an optimizer bug...

If I recall correctly, the problem comes when you pass a pointer to
ScanLine property. And the problem was solved using a temporary 
variable. Some thoughts...

Perhaps optimizer is discarding this temporary variable? 
Have you any way to say to compiler to avoid doing optimization in the 
offending location?

Sorry... seems one of these nasty bugs that only appears on particular  
circumstances. I will try to borrow a delphi 6 to check it, since on my 
old D3 it works just fine.

Regards,
Marti.



----- Original Message ----- 
From: "ADS" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 03, 2002 12:40 PM
Subject: [Lcms-user] Problem with Delphi and New version


> Hi Marti,
> 
>  a few weeks ago I have told you that I had some problem with the new
> version and delphi and I thought it came from something specific in my code.
> 
> In fact I have found the problem, in the project options if you compile with
> optimization on, you cannot use cmsDoTransform fonction.
> 
> And I murst say that I want to use optimization.
> 
> thanks
> 
> Armindo
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Lcms-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/lcms-user
> 
> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Lcms-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to