Mac OS 10.3.2
CW IDE version 5.5
Hello,
I have a CW project for a library that crashes at compilation. At the
beginning, there were several files, but I removed most of them to
finally end with only two files in it. The files are:
1- ProfileBasedColorSpace.h:
#ifndef PROFILEBASEDCOLORSPACE_H
#define PROFILEBASEDCOLORSPACE_H
class CMC_ProfileBasedColorSpace
{
private:
void UpdateWhitePoint(void);
};
#endif
2- ProfileBasedColorSpace.cpp:
#include "ProfileBasedColorSpace.h"
void CMC_ProfileBasedColorSpace::UpdateWhitePoint(void)
{
float tmp[3] = {0};
}
There's no crash when:
- the optimization level is 3 or less;
- the variable type is anything but float;
- the table size is 2 or less.
Thanks for any help,
Ivan Laurette
MW Ron - 24 Feb 2004 17:29 GMT
>Mac OS 10.3.2
>CW IDE version 5.5
[quoted text clipped - 28 lines]
>- the variable type is anything but float;
>- the table size is 2 or less.
I can reproduce this, I'll see if we can get it fixed in time for the
9.2 patch.
Ron

Signature
Announcing CodeWarrior Development Tools for Windows v9.2
http://www.metrowerks.com/MW/Develop/Desktop/Windows/Professional/Default.htm
Ron Liechty - MWRon@metrowerks.com - <http://www.metrowerks.com>
Ivan Laurette - 26 Feb 2004 07:52 GMT
MW Ron wrote :
> [...]
> I can reproduce this, I'll see if we can get it fixed in time for the
> 9.2 patch.
I forgot to ask: is this the right way to report bugs in CW ?
Ivan
MW Ron - 26 Feb 2004 15:57 GMT
>MW Ron wrote :
>
[quoted text clipped - 5 lines]
>
>Ivan
The best is the online bug report if you don't have any attachements.
http://www.metrowerks.com/MW/Support/Contact+Support/bug.htm
but there is a bug report form in the Release Notes folder and you can
submit that too. This is best if you have an attachement.
Ron

Signature
Announcing CodeWarrior Development Tools for Windows v9.2
http://www.metrowerks.com/MW/Develop/Desktop/Windows/Professional/Default.htm
Ron Liechty - MWRon@metrowerks.com - <http://www.metrowerks.com>