Bläddra i källkod

STYLE: Added comment explaining choice of file extension.

Brad King 18 år sedan
förälder
incheckning
5f1db8b249
1 ändrade filer med 3 tillägg och 0 borttagningar
  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