how to return NULL for double function with Intel C compiler?
Posted
by Derek
on Stack Overflow
See other posts from Stack Overflow
or by Derek
Published on 2010-05-27T16:45:52Z
Indexed on
2010/05/27
16:51 UTC
Read the original article
Hit count: 182
I have some code that I am porting from an SGI system using the MIPS compiler. It has functions that are declared to have double return type. If the function can't find the right double, those functions return "NULL"
The intel C compiler does not like this, but I was trying to see if there is a compiler option to enable this "feature" so that I can compile without changing code. I checked the man page, and can't seem to find it.
Thanks
© Stack Overflow or respective owner