Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / February 2004



Tip: Looking for answers? Try searching our database.

Crash at compilation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ivan Laurette - 24 Feb 2004 08:55 GMT
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>

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.