enthought / enthought/pyql

compilation error

Open
#200 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Cython
Stars
1.3k
Forks
235
PR merge metrics
No merged PRs in 30d

Description

GCC 7.2.0
QuantLib-1.10.0
Cython version 0.25.2

Steps to reproduce: setup environment (pathes to QuantLib, modify pyql:setup.py, etc) and run `make build`

`quantlib/settings.cpp: In function ‘PyObject* PyInit_settings()’:
quantlib/settings.cpp:1791:37: error: ‘QL_HIGH_RESOLUTION_DATE’ was not declared in this scope
__pyx_t_2 = __Pyx_PyBool_FromLong(QL_HIGH_RESOLUTION_DATE); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 23, __pyx_L1_error)
^
quantlib/settings.cpp:581:36: note: in definition of macro ‘__Pyx_PyBool_FromLong’
#define __Pyx_PyBool_FromLong(b) ((b) ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False))
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.