We tried to compile WRF 4.5.1 using latest INTEL (2023) ifort and icc (Compiling option 15 and for basic 1). Compiling failed with numerous errors. Sample errors are like these:
get_region_center.c:40:3: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
memcpy(MemoryOrder,MemoryOrderIn,strlen1);
.....
open_file.c:43:3: error: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
strncpy(filename2,filename,strlen1);
Anyone has the same issue? Is there any way to solve the problem?
get_region_center.c:40:3: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
memcpy(MemoryOrder,MemoryOrderIn,strlen1);
.....
open_file.c:43:3: error: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
strncpy(filename2,filename,strlen1);
Anyone has the same issue? Is there any way to solve the problem?