[Bug libfortran/124330] [16 Regression] shared_memory.c:72:3: error: implicit declaration of function 'SetEnvironmentVariable' [-Wimplicit-function-declaration]
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 4 02:14:24 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124330
--- Comment #9 from John David Anglin <danglin at gcc dot gnu.org> ---
The second block setting ENV_BASE wasn't updated in change:
../../../gcc/libgfortran/caf/shmem/shared_memory.c: In function
'shared_memory_i
nit':
../../../gcc/libgfortran/caf/shmem/shared_memory.c:254:7: error: implicit
declar
ation of function 'SetEnvironmentVariable' [-Wimplicit-function-declaration]
254 | SetEnvironmentVariable (ENV_BASE, buffer);
| ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:4682: caf/shmem/libcaf_shmem_la-shared_memory.lo] Error
1
make[3]: *** Waiting for unfinished jobs....
More information about the Gcc-bugs
mailing list