|
From: Andreas G. <ag...@on...> - 2003-08-26 11:41:26
|
On Sonntag, August 24, 2003, at 08:45 Uhr, Jesse Jones wrote: > At 8:04 PM -0400 8/23/03, Miro Jurisic wrote: >>> A lot of those macros are either documented or obvious. If you list >>> the ones you aren't sure about I can probably describe what they are >>> for. >> >> The ones I am not sure about are the Windows ones (since I don't know >> enough about Windows) and the ones Labeled with "Huh?" :-) >> >> // Windows specific > [...] >> // Misc >> 2 INFINITY // Huh? >> 2 NAN // Huh? > > I think these are now standard, but they weren't defined in MSVC. So > Whisper defines them on Windows. The above macros are defined usually in math.h. macro NULL is also defined in <cstddef> Worth mention: NDEBUG: The effect of including either <cassert> or <assert.h> depends each time on the lexically current definition of NDEBUG. This means, NEVER include cassert or assert.h in pre-compiled headers. In Mac OS, this may be similar with macro DEBUG in Debugging.h. If so, we NEVER should include Debugging.h in pre-compiled headers, too. (as i know, metrowerks includes Debugging.h in its precompiled headers.) > >> 1 MSIPL_MEMBER_TEMPLATE // Huh? >> 1 MSIPL_TEMPL_NEWSPEC // Huh? >> 3 MSIPL_DEBUG_MODE // Huh? >> 2 MSIPL_DEF_EXPLICIT // Huh? > > These were used with the Metrowerks std library. Most of them are > obsolete now I think. Correct. Most of MSL macros begin with _MSL_*. (CW 8) The old macros must be fixed. Andreas > >> 3 QUESA_SUPPORT_QUICKTIME // huh? > > This is mostly for Windows where you might want to build a Quesa app > without requiring that QuickTime be installed. > > -- Jesse > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click > here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > Whisper2-develop mailing list > Whi...@li... > https://lists.sourceforge.net/lists/listinfo/whisper2-develop > |