At 18:51 2007-01-28, Andreas Schweigstill wrote:
>Hello!
>
>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:
>
>....
>{
> foo(x);
>#define DEBUG
> do_something_very_important();
>....
>
>#if DEBUG
> bar();
>#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
I guess you didn't understand. That system has
some serious architecture/design flaws.
>--
>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
>
>
Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
"There oughta be a law"
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 29 06:11:42 2007