"Not allowed args fails the build" build failure(s) — clang 5.0

PackageVersionSupposed error messageFull log Bug report
cld2 0.0.0-git20150806-6error: invalid argument '-std=c++98' not allowed with 'C' Log
devil 1.7.8-10error: invalid argument '-std=gnu99' not allowed with 'C++' Log
freemat 4.2+dfsg1-5error: invalid argument '-std=c++11' not allowed with 'C' Log
gargoyle-free 2011.1b-1error: invalid argument '-std=gnu++98' not allowed with 'C' Log 757426
gpsd 3.16-4error: invalid argument '-std=gnu++98' not allowed with 'C' Log
guitarix 0.35.6-1error: invalid argument '-std=c++11' not allowed with 'C' Log
irstlm 6.00.05-2error: invalid argument '-std=c++0x' not allowed with 'C' Log
mysql-workbench 6.3.8+dfsg-1error: invalid argument '-std=c++11' not allowed with 'C' Log
nsis 2.51-1error: invalid argument '-fgnu89-inline' not allowed with 'C++' Log
oggvideotools 0.9.1-4error: invalid argument '--std=c++0x' not allowed with 'C' Log
postgresql-hll 2.7-2.1error: invalid argument '-std=c99' not allowed with 'C++' Log
repsnapper 2.5a5-1error: invalid argument '--std=c++11' not allowed with 'C' Log
springlobby 0.256+dfsg-2error: invalid argument '-std=gnu++11' not allowed with 'C' Log

13 errors