[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: What do you Hate about Subversion?

From: Andreas Schweigstill <andreas_at_schweigstill.de>
Date: 2007-01-29 02:51:42 CET


Victor A. Wagner Jr. schrieb:
> And any project that actually CARES about the
> line difference has some serious architecture/design problems.

The C compiler and assembler from ARM ADS 1.x arent't able to create
proper line numbering in the debug information when the source file has
mixed EOL style. I found out that it determines EOL style only
from the first line of source code. I don't know if ARM/Norcroft fixed
this problem on newer versions (RDS).

There are also some problems with C preprocessor definitions. Example:

#define DEBUG

#endif /* DEBUG */

When the compiler assumes CR/LF line endings the call of
do_something_very_important() can become a part of the macro definition
DEBUG. Especially if macros are used only as flags and never be expanded
as source code (like the DEBUG switch) there won't be a compiler message
(error or just warning) telling that do_something_very_important() will
never be executed.

With best regards
Andreas Schweigstill

Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 29 02:52:12 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.