summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCXXCompilerId.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeCXXCompilerId.cpp')
-rw-r--r--Modules/CMakeCXXCompilerId.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeCXXCompilerId.cpp b/Modules/CMakeCXXCompilerId.cpp
index f133147..87baea2 100644
--- a/Modules/CMakeCXXCompilerId.cpp
+++ b/Modules/CMakeCXXCompilerId.cpp
@@ -1,3 +1,6 @@
+/* This source file must have a .cpp extension so that all C++ compilers
+ recognize the extension without flags. Borland does not know .cxx for
+ example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif