MAC line breaks - Now a real problem in Qt 3.3/Win32

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Sep 17 21:03:38 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I also hit the problem with nearly all *_win.cpp in tools/. It's nasty
when I want to create a patch since then the whole file is different...
Please remove this asap and don't use a mac anymore to avoid this in the
future ;-)

Christian

Andreas Hausladen schrieb:
| QT3/Win32 - 3_3_BRANCH
|
| Because msvc.net is supported now, it is more important to remove the
| MAC line breaks. msvc.net does not want them and stops compiling the
| files and the Borland Compiler has a problem with the line continuations
| (backslash at the line end).
|
| Here an example (src/tools/qunicodetables_p.h)
|
| #define SCRIPT_FOR_CHAR( script, c ) \
|
|    script = (QFont::Script)scriptForChar( (c).unicode() )
|
| Due to the blank line, that is a result of the CRCRLF, the second line
| is not treated as a part of the marco. Instead it is processed as a
| normal C/C++ line which produces lots of errors (undefined identifiert
| 'QFont', ')' expected, ... ).
|
|
| Regards,
|
| Andreas Hausladen


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBSzUKnNKwkgf+zVMRArcvAJ9ZAajPzAkoXbl6vtfJ4wSzhbU7EwCfem0Y
osOi8XxH9j1N2Penf46mSpw=
=h9OB
-----END PGP SIGNATURE-----


More information about the kde-cygwin mailing list