Intel C compiler and openSuSE 11.0

I am having problems compiling with the Intel compilers on openSuSE 11.0.


int main()
printf("hello, world
return 0;

does not compile with until I remove the “#include<limits.h>” because of this error:

cezanne /home/dlbraun> icc test.c
/usr/include/limits.h(125): catastrophic error: could not open source file “limits.h”

include_next <limits.h>

I’m using the Intel 10.1 compilers. It is working on other distributions. Anybody have any ideas?



Why dont you stick with GCC?

As for your problem, maybe you dont have paths setup well? Keep in mind i doubt you can use all gcc headers with that compiler.

I had the same problem. Adding -I/usr/include to your compiler directives solves the issue.

You necroed a 6 year old thread that has zero relevance today.

What the hell is going on lately, are these bots that just post once and then never post anything? There’s been so many of them lately.