baltzo_defaultzoneinfocache.cpp: Error: The function "getenv" must have a prototype.
avysotsk opened this issue · 1 comments
avysotsk commented
Compilation if file groups/bal/baltzo/baltzo_defaultzoneinfocache.cpp fails with the following error message:
"../groups/bal/baltzo/baltzo_defaultzoneinfocache.cpp", line 81: Error: The function "getenv" must have a prototype.
The solution is to change line 81 of the mentioned above file
from
const char *envValue = getenv("BDE_ZONEINFO_ROOT_PATH");
to
const char *envValue = bsl::getenv("BDE_ZONEINFO_ROOT_PATH");
So, to add namespace name.
osubboo commented
Closing stale issues.