Fix the GCC build (#40)

* Make it compile with GCC.  
* Add GCC to CI.
* Add warning to documentation about using GCC.
This commit is contained in:
Matthew Parkinson
2019-05-05 19:58:37 +01:00
committed by GitHub
parent 0b64536be4
commit 8fcedfc290
8 changed files with 74 additions and 11 deletions

View File

@@ -44,6 +44,11 @@ namespace snmalloc
if constexpr (zero_mem == YesZero)
zero<true>(p, size);
else
{
UNUSED(p);
UNUSED(size);
}
}
/// OS specific function for zeroing memory