pocoproject / poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
https://pocoproject.org
Other
8.07k stars 2.11k forks source link

Trim file names in debug macros #4446

Open aleks-f opened 5 months ago

aleks-f commented 5 months ago

Currently, the debug macros use __FILE__; aside from sometimes too long path strings, this macro also embeds full paths into the binary, which may be a concern in some circumstances.