Hi, Ok, I will add these changes.
About unlink()... is remove() available? perhaps a quick solution would be a #define unlink remove and this would obviate the need of extra libs. > > > Fixed32 FixedSquare(Fixed32 a) > > > void VEC3scaleAndCut(LPWVEC3 r, LPVEC3 v, double d) > > > void MAT3scaleAndCut(LPWMAT3 r, LPMAT3 v, double d) > > > > These are not used anymore outside its module. I keep the functions > > as global just for compatibility sake. > > I know, but you need to declare them on top of the module so you can > call them before you declare them. The current order seems ok to me :-?, first comes the function body and the call is below. I wonder where the compiler complains. Oh, well, adding the declaration on top is not so difficult. Consider it done. Thanks again Regards, Marti. ----- Original Message ----- > > Hi, > > > > > Fixed32 FixedSquare(Fixed32 a) > > > void VEC3scaleAndCut(LPWVEC3 r, LPVEC3 v, double d) > > > void MAT3scaleAndCut(LPWMAT3 r, LPMAT3 v, double d) > > > > These are not used anymore outside its module. I keep the functions > > as global just for compatibility sake. > > I know, but you need to declare them on top of the module so you can > call them before you declare them. > > > About unlink() and swab(), well, unlink() does delete a file. > > Is Unix/POSIX defined function. its ANSI equivalent > > is remove(). if the compiler does not support swab, then there > > is a toggle on lcms.h to use the replacement instead. > > (see USE_CUSTOM_SWAB on lcms.h) > > Ok. Swab is missing only for Windows and for unlink we need to include > unistd.h: > > So please define: > > // If Metroworks > #if __MWERKS__ > // include unlink > #include "unistd.h" > // If Windows > #if WIN32 > // Use custom swab > #define USE_CUSTOM_SWAB 1 > #else > // else if Mac OS > #define NON_WINDOWS 1 > #endif > // Please include for the unlink function: > // MSL_Extras_Carbon.Lib for Mac OS Carbon > // MSL_Extras_PPC.Lib for Mac OS Classic > #endif > > If you add this on top of lcms.h it compiles well. > > Mfg > Christian > > -- > Beruehmte Irrtuemer (07): > Beim neuen Office ist das behoben. > > http://www.christians-software.de (Kostenlose Mac/Win Software) > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek PC Mods, Computing goodies, cases & more http://thinkgeek.com/sf _______________________________________________ Lcms-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lcms-user
