Hello Jerker, * Jerker Bäck wrote on Fri, Jul 20, 2007 at 03:36:32PM CEST: > > Well, maybe you're right. I will be using the MS implementation of restrict > and see if I run into problems. There could be a risk of wrong optimization > - we'll see.
I would doubt that MSVC does wrong optimizations wrt. restrict. At least I haven't heard about it before (and none of my previous arguments dealt with this topic). > The autoconf mmap test fails. The reason for this is complicated and hard to > explain, but is due to the tests requirement for fixed memory (MAP_FIXED). If your program does not make use of mmap(MAP_FIXED), then I assume that you could get away with AC_CHECK_FUNC([mmap]) rather than using AC_FUNC_MMAP. See the manual on details of this macro. > In short: It violates the whole idea with the NT kernel Virtual Memory > Manager. You know, there are no real memory in Windows, only virtual. There is no real memory in most if not all unix-like systems, either. But this does not have much to do with the above, so never mind. Cheers, Ralf