CertStoreBearSSL.cpp is only file that pervents compile with -D FS_NO_GLOBALS #7684
Closed
6 tasks done
Labels
waiting for feedback
Waiting on additional info. If it's not received, the issue may be closed.
Basic Infos
Platform
Settings in IDE
Problem Description
Older project version used SDFat as lib needed for work.
I updated ESP8266 core and package, and currentrly using ESP8266SdFat
Older lib had no defined namespace for it, so i need to prevent different FS in global scope.
To prevent issue with different FS difinitons i used this flag
-D FS_NO_GLOBALS
So all code compiled ok except 1 file
CertStoreBearSSL.cpp
located at path
C:\.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src\CertStoreBearSSL.cpp
pathcing file by adding
fs::
before all FS stuff usage solved issue, all compiled fine.Sketch
Debug Messages
Patched File log.
so I add fs::FS to lines
79, 100, 105, 178, 190, 195
Patched file
I think I should had make a Pull Request but never done any before,
For now i will try create patcher cmdlet to solve this for myself.
(due to C++ can't just unuse namespace)
The text was updated successfully, but these errors were encountered: