-
Notifications
You must be signed in to change notification settings - Fork 205
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
After updating stdlib, the following error occurs when compiling to stdlib_system.c using fpm run --compiler ifx --flag "-Qmkl":
stdlib_system.c(174,38): error: call to undeclared function 'S_ISREG'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
174 | return _stat(path, &buf) == 0 && S_ISREG(buf.st_mode);
| ^
Environment
Windows + Intel oneAPI 2024.2 + fpm 0.11.0
Intel(R) Fortran Compiler for applications running on Intel(R) 64, Version 2024.2.0 Build 20240602
Copyright (C) 1985-2024 Intel Corporation. All rights reserved.
Version
fpm will fetch the latest version from the stdlib-fpm branch
[dependencies]
openmp = "*"
stdlib = { git = "https://github.com/fortran-lang/stdlib", branch = "stdlib-fpm", preprocess.cpp.macros = [
"STDLIB_EXTERNAL_BLAS",
"STDLIB_EXTERNAL_LAPACK",
] }
Expected Behaviour
Compile normally like the previous versions
Version of stdlib
latest
Platform and Architecture
Windows
Additional Information
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working