You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the -DDLSUFFIX=\".so\" flag. This is incorrect, because CMake is interpreting this flag after escaping, i.e., as -DDLSUFFIX=".so", which is causing that file to compile incorrectly. (I can't tell if the \character is being dropped altogether but the " character is being escaped correctly, or if no escaping is happening at all.) Instead, the compilation database entry created by bear should have -DDLSUFFIX=\\\".so\\\", which will then be interpreted by CMake as -DDLSUFFIX=\".so\", as desired.
The text was updated successfully, but these errors were encountered:
I'm using Bear to create a compilation database for PostgreSQL. One of the commands executed by the the PostgreSQL build system is:
Notice the
-DDLSUFFIX=\".so\"
flag.The compilation database entry created by bear is:
Notice the
-DDLSUFFIX=\".so\"
flag. This is incorrect, because CMake is interpreting this flag after escaping, i.e., as-DDLSUFFIX=".so"
, which is causing that file to compile incorrectly. (I can't tell if the\
character is being dropped altogether but the"
character is being escaped correctly, or if no escaping is happening at all.) Instead, the compilation database entry created by bear should have-DDLSUFFIX=\\\".so\\\"
, which will then be interpreted by CMake as-DDLSUFFIX=\".so\"
, as desired.The text was updated successfully, but these errors were encountered: