Pedantically you are correct, but it is and was common to use C++ compilers as a slightly more convenient dialect of C. This gives you the performance and simplicity of the C language with some very nice quality of life improvements.
With few exceptions, C++ can mostly be treated as a superset of C.