#include <intrin.h>
pocc -c -Ot intrin.c
C:\Programs\PellesC7\Include\xmmintrin.h(10): fatal error #1035: Can't find include file <mmintrin.h>.
Shouldn’t it be mmintr.h?
Why?
The problem is rather that the compiler seems to strip a character from a nested #include in intrin.h:
#ifndef _INTRIN_H
#define _INTRIN_H
/* intrin.h - private header for compiler intrinsic functions */
#if __POCC__ >= 500
#pragma once
#endif
#if __POCC__ >= 700
#include <immintrin.h>
#elif __POCC__ >= 650
#include <wmmintrin.h>
#else /* __POCC__ < 650 */
#include <xmmintr.h>
#endif /* __POCC__ < 650 */
It should include
immintrin.h but it somehow it seems as if it strips the leading "i" of the filename (8 character space filename bug somewhere?)...
The file "
immintrin.h" exists in the include directory btw, so it must be something more subtle. Just tried to follow the chain of #includes in
intrin.h and at the 8th level (in
xmmintrin.h) it tries to include
mmintrin.h, which does not exist.
Ralf