I moved code from ESP8266 to ESP32.
I removed Softserial and replaced it with Hardserial.
I did not remove the Softserial library from my local lib folder.
This generates errors.
I moved the lib from local lib to /backup directory newerly created.
The compilation works without errors.
I do not understand why a Library that is not referenced in my code generates errors.
Does it mean that all libraries in the local lib will be integrated in my binary ?
Looks more than a compiler bug !