Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Diehl__Martin
Beginner
283 Views

icc: __INT_MAX__ undefined for 19.1.2

I'm not sure whether this is on purpose, but

icc version 19.1.1.217 (gcc version 10.0.1 compatibility) has __INT_MAX__ defined:

icc -no-gcc -gcc-sys -dM -E - </dev/null | grep __INT_M

#define __INT_MAX__ 2147483647

 

icc version 19.1.2.254 (gcc version 10.0.1 compatibility) not

icc -no-gcc -gcc-sys -dM -E - </dev/null | grep __INT_M

 

both compilers are installed on Ubuntu 20.04

 

 

0 Kudos
3 Replies
PrasanthD_intel
Moderator
271 Views

Hi Martin,


Thanks for reaching out to us.

You can use 

icc -gcc-sys -dM -E - </dev/null | grep __INT_M 

to get the __INT_MAX__ value.


Let us know if you require anything else.


Regards

Prasanth


PrasanthD_intel
Moderator
242 Views

Hi Martin,


We haven't heard back from you.

If you have any more questions regarding the query, please reach out to us.


Regards

Prasanth


PrasanthD_intel
Moderator
209 Views

Hi Martin,


We are closing this thread considering your issue have been resolved.

Please raise a new thread for any further questions.

Any further interaction in this thread will be considered community only


Regards

Prasanth


Reply