q3cpp doesn't abort on #error directives, and doesn't recognise #warning at all. I wrote a patch to address both of these issues, and it should be forthcoming shortly.
Created attachment 1798 [details] #warning and fixed #error
Fixed in r1405.
Created attachment 1798 [details] #warning and fixed #error