This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年03月22日 10:14 by h.venev, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (6) | |||
|---|---|---|---|
| msg214451 - (view) | Author: Hristo Venev (h.venev) * | Date: 2014年03月22日 10:14 | |
It would be better if string literals could be used there. |
|||
| msg214463 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2014年03月22日 11:45 | |
Why are you suggesting that string literals cannot be used? Works fine for me. |
|||
| msg214474 - (view) | Author: Hristo Venev (h.venev) * | Date: 2014年03月22日 14:07 | |
error: deprecated conversion from string constant to ‘char*’ I like -Werror. |
|||
| msg214503 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2014年03月22日 18:27 | |
I still can't reproduce the problem, not even with -Werror: loewis@dinsdale:~$ cat a.c struct Foo{ char *text; }; struct Foo f = { "data" }; int main() { return 0; } loewis@dinsdale:~$ gcc -Wall -Werror -o a a.c loewis@dinsdale:~$ gcc --version gcc (Debian 4.7.2-5) 4.7.2 Copyright (C) 2012 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. loewis@dinsdale:~$ |
|||
| msg214506 - (view) | Author: Hristo Venev (h.venev) * | Date: 2014年03月22日 18:59 | |
g++ |
|||
| msg339033 - (view) | Author: Inada Naoki (methane) * (Python committer) | Date: 2019年03月28日 13:20 | |
It is const char* now. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:00 | admin | set | github: 65218 |
| 2019年03月28日 13:20:01 | methane | set | status: open -> closed nosy: + methane messages: + msg339033 resolution: fixed stage: resolved |
| 2014年04月02日 17:43:48 | tshepang | set | nosy:
+ tshepang |
| 2014年03月24日 01:04:24 | Arfrever | set | nosy:
+ Arfrever |
| 2014年03月22日 18:59:44 | h.venev | set | messages: + msg214506 |
| 2014年03月22日 18:27:02 | loewis | set | messages: + msg214503 |
| 2014年03月22日 14:07:09 | h.venev | set | messages: + msg214474 |
| 2014年03月22日 11:45:45 | loewis | set | nosy:
+ loewis messages: + msg214463 |
| 2014年03月22日 10:19:32 | h.venev | set | components:
+ Extension Modules versions: + Python 3.4 |
| 2014年03月22日 10:14:14 | h.venev | create | |