[Cmake-commits] [cmake-commits] king committed kwsysPrivate.h 1.5 1.6
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu May 14 09:27:08 EDT 2009
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv20386/Source/kwsys
Modified Files:
kwsysPrivate.h
Log Message:
STYLE: Simplify and document VMS workarounds
The kwsysPrivate header double-inclusion check hits a false positive on
VMS for an undetermined reason. This simplifies the workaround and
documents it.
Index: kwsysPrivate.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/kwsysPrivate.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C 2 -d -r1.5 -r1.6
*** kwsysPrivate.h 14 May 2009 13:26:47 -0000 1.5
--- kwsysPrivate.h 14 May 2009 13:27:02 -0000 1.6
***************
*** 13,19 ****
=========================================================================*/
#ifndef KWSYS_NAMESPACE
! # ifndef __VMS
! # error "Do not include kwsysPrivate.h outside of kwsys c and cxx files."
! # endif
#endif
--- 13,17 ----
=========================================================================*/
#ifndef KWSYS_NAMESPACE
! # error "Do not include kwsysPrivate.h outside of kwsys c and cxx files."
#endif
***************
*** 42,46 ****
#else
! # ifndef __VMS
# error "kwsysPrivate.h included multiple times."
# endif
--- 40,44 ----
#else
! # ifndef __VMS /* Avoid strange false positive on VMS compiler. */
# error "kwsysPrivate.h included multiple times."
# endif
More information about the Cmake-commits
mailing list