This repository has been archived by the owner on Dec 14, 2021. It is now read-only.
strlen() {non-indexed} being shown as returning long long
rather than size_t
#1206
Labels
I'm looking at the Git project in SourceTrail from a Visual Studio (Ninja) generated
compile_commands.json
file (via aCMakeLists.txt
within the Git project).I'm then looking at those standard functions that return
size_t
, such asstrlen
that in Linux git are (in enough cases to cause problems on Windows) then coerced intolong
variables.When I hover over the
strlen
function in SourceTrail it is showing it as a nonindexed function withunsigned long long
as the return type - which isn't standard (size_t
), and doesn't reflect the return type shown if I switch to Visual Studio (size_t
).== Where does the nonindexed function return type
unsigned long long
come from?What is the best method for fixing this? (the project is loaded entirley from the sanitised
compile_commands.json
file (swaps VS options to dashed form)The text was updated successfully, but these errors were encountered: