Closed alex-rass-88 closed 8 months ago
how is this different from the current code?
CompilerCommandLineParser cclp(command, workingDirectory);
m_includes = cclp.GetIncludes();
m_macros = cclp.GetMacros();
m_others = cclp.GetOtherOptions();
m_includes
is of type wxArrayString
, so assigning it another wxArrayString
(e.g. cclp.GetIncludes()
) is identical to the code that you wrote
Strange. Not all dirs assigned. But after my fix it's all assigned
Assigning clear array and copy new
What happened?
A bug happened! codelite/Plugin/CompileCommandsJSON.cpp has wrong code.
Should be something like this: `
`
Version
Self compiled
Operating system
Linux
Steps to reproduce
No response
Relevant log output
No response