LEMS VXL
Links
CVS Commit Checks
The CVS repository for LEMS VXL checks for the following things when a file is committed:
- Tab characters - Please use multiple spaces instead of tabs in your code.
Different text editors display tab characters differently making code written in
one editor difficult to read in another. Many editors have an option to automatically
insert spaces when the tab key is pressed. In MSVC++ 6.0 look under Tools->Options->Tabs.
- CRLF - Microsoft operating systems (DOS, Windows) use two characters (Carriage Return
and Line Feed) to denote the start of a new line in an ASCII file. *NIX operating systems
(Linux, Solaris, BSD, etc.) only use the Line Feed. We have adopted the *NIX convention
for our repository. In many cases CVS will convert CRLFs to LFs automatically at commit
time. However, this may not be the case if certain options are set incorrectly. If you
are using Cygwin for CVS, make sure Cygwin is configured to use Windows line endings.
- Newline at end of file - Some compilers (i.e. gcc) will issue a warning if
the last character in a file is not a newline character. Many editors, such as
MSVC++ 6.0, do not enforce this. If you get this warning go to the end of your
file and press "enter" to add a blank line.