-dialect | -lang

Specifies the source language.

Syntax
  -dialect | -lang keyword

The arguments of keyword are:

C

Considers source as C++ unless its extension is .c, .h, or .pch. This is the default.

C++

Considers source as C++ always.