mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 05:30:13 +03:00
Make distinction between CC and CXX in the testsuite. (#16434)
Clang makes a distinction between clang and clang++. In particular, clang++ will give a warning when it is passed `.c` source files; and the extra output warning text means that dmd testsuite output checking fails. The warning can be silenced (-Wno-deprecated) but then other tests will fail because `#ifdef __cplusplus` will be true, leading to header file import issues.
This commit is contained in:
parent
ebe8611b12
commit
afc38e9dca
6 changed files with 45 additions and 23 deletions
|
@ -50,7 +50,7 @@ private alias requiredEnvVars = AliasSeq!(
|
|||
"BUILD"
|
||||
);
|
||||
private alias optionalEnvVars = AliasSeq!(
|
||||
"CC", "PIC_FLAG"
|
||||
"CC", "CXX", "PIC_FLAG"
|
||||
);
|
||||
private alias allVars = AliasSeq!(
|
||||
requiredEnvVars,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue