[[lib]] deprecated
silence some warnings, get demo to build