Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile failure in Modules/python.c #50624

Closed
adamg mannequin opened this issue Jun 29, 2009 · 5 comments
Closed

compile failure in Modules/python.c #50624

adamg mannequin opened this issue Jun 29, 2009 · 5 comments

Comments

@adamg
Copy link
Mannequin

adamg mannequin commented Jun 29, 2009

BPO 6375
Nosy @loewis
Files
  • python3-cast-fix.patch: buildfix patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2010-02-15.21:48:20.726>
    created_at = <Date 2009-06-29.16:30:40.448>
    labels = []
    title = 'compile failure in Modules/python.c'
    updated_at = <Date 2010-02-15.21:48:20.724>
    user = 'https://bugs.python.org/adamg'

    bugs.python.org fields:

    activity = <Date 2010-02-15.21:48:20.724>
    actor = 'loewis'
    assignee = 'none'
    closed = True
    closed_date = <Date 2010-02-15.21:48:20.726>
    closer = 'loewis'
    components = []
    creation = <Date 2009-06-29.16:30:40.448>
    creator = 'adamg'
    dependencies = []
    files = ['14387']
    hgrepos = []
    issue_num = 6375
    keywords = ['patch']
    message_count = 5.0
    messages = ['89860', '89864', '89866', '89880', '99375']
    nosy_count = 3.0
    nosy_names = ['loewis', 'jcsalterego', 'adamg']
    pr_nums = []
    priority = 'normal'
    resolution = 'works for me'
    stage = None
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue6375'
    versions = ['Python 3.1']

    @adamg
    Copy link
    Mannequin Author

    adamg mannequin commented Jun 29, 2009

    Python-3.1 fails to compile with:
    ./Modules/python.c: In function 'wchar_t* char2wchar(char*)':
    ./Modules/python.c:60: error: invalid conversion from 'void*' to 'wchar_t*'

    The attached patch fixes this.

    @jcsalterego
    Copy link
    Mannequin

    jcsalterego mannequin commented Jun 29, 2009

    On OpenBSD by chance? Looks similar to bpo-4146

    @adamg
    Copy link
    Mannequin Author

    adamg mannequin commented Jun 29, 2009

    nope, a gcc-4.4 based Linux distribution.

    It looks like the same problem happens with bpo-4146, but it touches
    other part of that file.

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Jun 29, 2009

    Can somebody explain the error? The conversion looks quite valid to me,
    so it seems to be a compiler bug.

    @loewis
    Copy link
    Mannequin

    loewis mannequin commented Feb 15, 2010

    Closing this as unreproducible.

    @loewis loewis mannequin closed this as completed Feb 15, 2010
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants