adapt warnings to latest cparser version