Skip to content

Unable to determine long_long #19

@brucellino

Description

@brucellino
gcc  -fPIC -DPy_BUILD_CORE -o Modules/python.o ../Modules/python.c
In file included from ../Include/Python.h:58:0,
                 from ../Modules/python.c:3:
../Include/pyport.h:256:13: error: #error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
 #           error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"

This is caused only on 2.7.13

The offending stanza in pyport.h is :

#ifdef HAVE_LONG_LONG
#   ifndef PY_FORMAT_LONG_LONG
#       if defined(MS_WIN64) || defined(MS_WINDOWS)
#           define PY_FORMAT_LONG_LONG "I64"
#       else
#           error "This platform's pyconfig.h needs to define PY_FORMAT_LONG_LONG"
#       endif
#   endif
#endif

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions