[prev in list] [next in list] [prev in thread] [next in thread]
List: pcc-list
Subject: Re: [Pcc] Fyi: pcc as of 2020-03-04: cpp failures
From: Anders Magnusson <ragge () ludd ! ltu ! se>
Date: 2020-06-29 7:42:22
Message-ID: 28af022c-64dd-ff9c-1540-7175779a4e7b () ludd ! ltu ! se
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Good morning,
and sorry about late response, but anyway: Your bugfix is correct, so
many thanks! I've checked in the fix.
-- R
Den 2020-06-22 kl. 18:20, skrev Steffen Nurpmeso:
> Hello.
>
> Steffen Nurpmeso wrote in
> <20200305192729.XD9BF%steffen@sdaoden.eu>:
> |Steffen Nurpmeso wrote in
> |<20200207221007.oF-Va%steffen@sdaoden.eu>:
> ...
> | /tmp/nail/src/mx/header.c:1894: warning: unterminated literal
> |
> |That contains: char cbuf[sizeof "'\\U12340'"];
>
> This is still a problem as of 2020-06-21:
>
> cat >>t.c<<__EOT
> int main(void){
> char cbuf[sizeof "'\\U12340'"];
> return sizeof cbuf;
> }
> __EOT
> pcc -E - < t.c
> <stdin>:2: warning: unterminated literal
>
> # 1 "<stdin>"
> int main(void){
> char cbuf[sizeof "'\;
> return sizeof cbuf;
> }
>
> So i went .. and i hope the attached diff fixes it without
> introducing regressions!
>
> Thanks for pcc!
>
> --steffen
> |
> |Der Kragenbaer, The moon bear,
> |der holt sich munter he cheerfully and one by one
> |einen nach dem anderen runter wa.ks himself off
> |(By Robert Gernhardt)
>
> _______________________________________________
> Pcc mailing list
> Pcc@lists.ludd.ltu.se
> https://lists.ludd.ltu.se/cgi-bin/mailman/listinfo/pcc
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Good morning,<br>
<br>
and sorry about late response, but anyway: Your bugfix is correct,
so many thanks! I've checked in the fix.<br>
<br>
-- R<br>
<br>
<div class="moz-cite-prefix">Den 2020-06-22 kl. 18:20, skrev Steffen
Nurpmeso:<br>
</div>
<blockquote type="cite"
cite="mid:20200622162023.2XdSY%25steffen@sdaoden.eu">
<pre class="moz-quote-pre" wrap="">Hello.
Steffen Nurpmeso wrote in
<a class="moz-txt-link-rfc2396E" \
href="mailto:20200305192729.XD9BF%steffen@sdaoden.eu"><20200305192729.XD9BF%steffen@sdaoden.eu></a>:
|Steffen Nurpmeso wrote in
|<a class="moz-txt-link-rfc2396E" \
href="mailto:20200207221007.oF-Va%steffen@sdaoden.eu"><20200207221007.oF-Va%steffen@sdaoden.eu></a>:
...
| /tmp/nail/src/mx/header.c:1894: warning: unterminated literal
|
|That contains: char cbuf[sizeof "'\\U12340'"];
This is still a problem as of 2020-06-21:
cat >>t.c<<__EOT
int main(void){
char cbuf[sizeof "'\\U12340'"];
return sizeof cbuf;
}
__EOT
pcc -E - < t.c
<stdin>:2: warning: unterminated literal
# 1 "<stdin>"
int main(void){
char cbuf[sizeof "'\;
return sizeof cbuf;
}
So i went .. and i hope the attached diff fixes it without
introducing regressions!
Thanks for pcc!
--steffen
>
> Der Kragenbaer, The moon bear,
> der holt sich munter he cheerfully and one by one
> einen nach dem anderen runter wa.ks himself off
> (By Robert Gernhardt)
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" \
wrap="">_______________________________________________ Pcc mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:Pcc@lists.ludd.ltu.se">Pcc@lists.ludd.ltu.se</a> <a \
class="moz-txt-link-freetext" \
href="https://lists.ludd.ltu.se/cgi-bin/mailman/listinfo/pcc">https://lists.ludd.ltu.se/cgi-bin/mailman/listinfo/pcc</a></pre>
</blockquote>
<br>
</body>
</html>
[Attachment #6 (text/plain)]
_______________________________________________
Pcc mailing list
Pcc@lists.ludd.ltu.se
https://lists.ludd.ltu.se/cgi-bin/mailman/listinfo/pcc
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic