got cycpp to work. Added deprecation warning to resourcebuff