Ver Fonte

STYLE: Added comment explaining choice of file extension.

Brad King há 18 anos atrás
pai
commit
5f1db8b249
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      Modules/CMakeCXXCompilerId.cpp

+ 3 - 0
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