[PATCH] Multiline strings and gcc
Marco Parrone
marc0 at autistici.org
Wed Jul 24 00:37:02 CEST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi, here a bug report for gnupg version 1.0.7.
I think that the problem are the multiline strings (in the asm defines).
I've solved the problem with the attached patch, that replaces the
newlines in the strings with "\n".
If you want to merge the patch I can re-check it and if you want
I can replaces the horizontal tabs with "\t" too.
I'm not subscripted to this ML, so CC me if you want replies.
$ cd gnupg-1.0.7
$ ./configure
$ make 2> err
[...]
$ cat err
In file included from mpi-bit.c:26:
longlong.h:118:12: missing terminating " character
longlong.h:125:10: missing terminating " character
longlong.h:127:12: missing terminating " character
longlong.h:134:10: missing terminating " character
longlong.h:189:12: missing terminating " character
longlong.h:196:10: missing terminating " character
longlong.h:198:12: missing terminating " character
longlong.h:205:10: missing terminating " character
longlong.h:208:12: missing terminating " character
longlong.h:225:22: missing terminating " character
longlong.h:228:12: missing terminating " character
longlong.h:234:17: missing terminating " character
longlong.h:277:12: missing terminating " character
longlong.h:284:9: missing terminating " character
longlong.h:286:12: missing terminating " character
longlong.h:293:9: missing terminating " character
longlong.h:320:12: missing terminating " character
longlong.h:327:10: missing terminating " character
longlong.h:329:12: missing terminating " character
longlong.h:336:10: missing terminating " character
longlong.h:368:8: missing terminating " character
longlong.h:383:44: missing terminating " character
longlong.h:438:12: missing terminating " character
In file included from mpi-bit.c:26:
longlong.h:439: error: parse error before '%' token
longlong.h:445:9: missing terminating " character
longlong.h:447:12: missing terminating " character
longlong.h:454:9: missing terminating " character
longlong.h:571:12: missing terminating " character
longlong.h:578:9: missing terminating " character
longlong.h:580:12: missing terminating " character
longlong.h:587:9: missing terminating " character
longlong.h:619:18: missing terminating " character
longlong.h:643:33: missing terminating " character
longlong.h:656:12: missing terminating " character
longlong.h:663:10: missing terminating " character
longlong.h:665:12: missing terminating " character
longlong.h:672:10: missing terminating " character
longlong.h:722:12: missing terminating " character
longlong.h:728:9: missing terminating " character
longlong.h:747:12: missing terminating " character
longlong.h:753:9: missing terminating " character
longlong.h:929:12: missing terminating " character
longlong.h:936:9: missing terminating " character
longlong.h:938:12: missing terminating " character
longlong.h:945:9: missing terminating " character
longlong.h:951:12: missing terminating " character
longlong.h:955:9: missing terminating " character
longlong.h:965:12: missing terminating " character
longlong.h:972:9: missing terminating " character
longlong.h:974:12: missing terminating " character
longlong.h:981:9: missing terminating " character
longlong.h:986:8: missing terminating " character
longlong.h:1010:12: missing terminating " character
longlong.h:1039:8: missing terminating " character
longlong.h:1046:20: missing terminating " character
longlong.h:1055:12: missing terminating " character
longlong.h:1062:10: missing terminating " character
longlong.h:1065:12: missing terminating " character
longlong.h:1072:10: missing terminating " character
longlong.h:1112:12: missing terminating " character
longlong.h:1156:11: missing terminating " character
longlong.h:1170:12: missing terminating " character
longlong.h:1172:38: missing terminating ' character
longlong.h:1173:38: missing terminating ' character
longlong.h:1174:38: missing terminating ' character
longlong.h:1214:18: missing terminating " character
longlong.h:1236:12: missing terminating " character
longlong.h:1243:9: missing terminating " character
longlong.h:1245:12: missing terminating " character
longlong.h:1252:9: missing terminating " character
make[2]: *** [mpi-bit.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
$ gcc --version
gcc (GCC) 3.2 20020625 (experimental)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Bye
- --
Marco Parrone - marc0 at autistici.org
46B9 4793 2066 1927 13DB 82A0 1698 FFE8 3E6A 957A
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>
iD8DBQE9PU1KFpj/6D5qlXoRAl0pAJ4ijzeoS7yB4JmUn3cgaHiknicc/QCeJJTe
1+fhw1DnkTlYCEmgHJyEsPY=
=Zw/v
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nomultilinestrings.diff
Type: text/x-patch
Size: 24127 bytes
Desc: The patch.
Url : /pipermail/attachments/20020723/afa9a4b5/nomultilinestrings.bin
-------------- next part --------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQA9PU01Fpj/6D5qlXoRAhvZAJ4oFDj7ChIZXcdJ22K5ahEA7W5StgCgvInu
8lbDBD9aq+4WX5BFNQMFGYI=
=p9MR
-----END PGP SIGNATURE-----
More information about the Gnupg-devel
mailing list